-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
179 additions
and
30 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,43 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel; | ||
using System.Data; | ||
using System.Drawing; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Forms; | ||
using System.Diagnostics; | ||
|
||
namespace OpenSWF2EXE | ||
{ | ||
public partial class AboutForm : Form | ||
{ | ||
#region LocaleSetting | ||
|
||
private string AuthorTextCN = "作者:"; | ||
private string AuthorTextEN = "Author:"; | ||
|
||
private string EmailTextCN = "邮箱:"; | ||
private string EmailTextEN = "Email:"; | ||
|
||
private string GithubTextCN = "Github:"; | ||
private string GithubTextEN = "Github:"; | ||
|
||
#endregion | ||
|
||
public AboutForm() | ||
{ | ||
InitializeComponent(); | ||
if (MainWindow.humanLanguage == HumanLanguage.Chinese) | ||
{ | ||
AuthorText.Text = AuthorTextCN; | ||
EmailText.Text = EmailTextCN; | ||
GithubText.Text = GithubTextCN; | ||
} | ||
else if (MainWindow.humanLanguage == HumanLanguage.English) | ||
{ | ||
AuthorText.Text = AuthorTextEN; | ||
EmailText.Text = EmailTextEN; | ||
GithubText.Text = GithubTextEN; | ||
} | ||
} | ||
|
||
//ref:https://stackoverflow.com/questions/502199/how-to-open-a-web-page-from-my-application | ||
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) | ||
{ | ||
Process.Start(new ProcessStartInfo { FileName = githubLink.Text, UseShellExecute = true }); | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/OpenSWF2EXE/OpenSWF2EXE/Properties/Resources.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.