mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
@@ -11,10 +11,10 @@ namespace mRemoteNG.App.Info
|
||||
{
|
||||
public static class GeneralAppInfo
|
||||
{
|
||||
public const string UrlHome = "http://www.mremoteng.org/";
|
||||
public const string UrlDonate = "http://donate.mremoteng.org/";
|
||||
public const string UrlHome = "https://www.mremoteng.org/";
|
||||
public const string UrlDonate = "https://mremoteng.org/contribute/";
|
||||
public const string UrlForum = "https://www.reddit.com/r/mRemoteNG/";
|
||||
public const string UrlBugs = "http://bugs.mremoteng.org/";
|
||||
public const string UrlBugs = "https://bugs.mremoteng.org/";
|
||||
public static string ApplicationVersion = Application.ProductVersion;
|
||||
public static readonly string ProductName = Application.ProductName;
|
||||
public static readonly string Copyright = ((AssemblyCopyrightAttribute)Attribute.GetCustomAttribute(Assembly.GetExecutingAssembly(), typeof(AssemblyCopyrightAttribute), false)).Copyright;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using mRemoteNG.App;
|
||||
using mRemoteNG.App.Info;
|
||||
@@ -142,39 +143,19 @@ namespace mRemoteNG.UI.Menu
|
||||
}
|
||||
|
||||
#region Info
|
||||
private void mMenToolsUpdate_Click(object sender, EventArgs e)
|
||||
{
|
||||
Windows.Show(WindowType.Update);
|
||||
}
|
||||
private void mMenInfoHelp_Click(object sender, EventArgs e)
|
||||
{
|
||||
Windows.Show(WindowType.Help);
|
||||
}
|
||||
private void mMenToolsUpdate_Click(object sender, EventArgs e) => Windows.Show(WindowType.Update);
|
||||
|
||||
private void mMenInfoForum_Click(object sender, EventArgs e)
|
||||
{
|
||||
WebHelper.GoToUrl(GeneralAppInfo.UrlForum);
|
||||
}
|
||||
private void mMenInfoHelp_Click(object sender, EventArgs e) => Windows.Show(WindowType.Help);
|
||||
|
||||
private void mMenInfoBugReport_Click(object sender, EventArgs e)
|
||||
{
|
||||
WebHelper.GoToUrl(GeneralAppInfo.UrlBugs);
|
||||
}
|
||||
private void mMenInfoForum_Click(object sender, EventArgs e) => Process.Start(GeneralAppInfo.UrlForum);
|
||||
|
||||
private void mMenInfoWebsite_Click(object sender, EventArgs e)
|
||||
{
|
||||
WebHelper.GoToUrl(GeneralAppInfo.UrlHome);
|
||||
}
|
||||
private void mMenInfoBugReport_Click(object sender, EventArgs e) => Process.Start(GeneralAppInfo.UrlBugs);
|
||||
|
||||
private void mMenInfoDonate_Click(object sender, EventArgs e)
|
||||
{
|
||||
WebHelper.GoToUrl(GeneralAppInfo.UrlDonate);
|
||||
}
|
||||
private void mMenInfoWebsite_Click(object sender, EventArgs e) => Process.Start(GeneralAppInfo.UrlHome);
|
||||
|
||||
private void mMenInfoAbout_Click(object sender, EventArgs e)
|
||||
{
|
||||
Windows.Show(WindowType.About);
|
||||
}
|
||||
private void mMenInfoDonate_Click(object sender, EventArgs e) => Process.Start(GeneralAppInfo.UrlDonate);
|
||||
|
||||
private void mMenInfoAbout_Click(object sender, EventArgs e) => Windows.Show(WindowType.About);
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user