Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Lucifer committed May 18, 2024
1 parent 832bc4d commit d0afdf1
Show file tree
Hide file tree
Showing 16 changed files with 633 additions and 116 deletions.
6 changes: 0 additions & 6 deletions src/LosslessZoom/FormAbout.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions src/LosslessZoom/FormAbout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,22 @@ public partial class FormAbout : UIForm
private readonly ILangPack _pack;
public FormAbout(ILangPack pack)
{
InitializeComponent();
_pack = pack;
InitializeComponent();
}

private void FormAbout_Load(object sender, System.EventArgs e)
{
Text = _pack.FormAbout_Title;
lblxAuthor.Text = @"https://github.com/X-Lucifer";
lblxDesc.Text = @"AI无损放大工具";
lblxDesc.Text = _pack.FormAbout_lblTitle;
lblCopyright.Text = _pack.FormAbout_lblCopyright;
lblAuthor.Text = _pack.FormAbout_lblAuthor;
lblVersion.Text = _pack.FormAbout_lblVersion;
lblDesc.Text = _pack.FormAbout_lblDesc;
lblTitle.Text = _pack.FormAbout_lblTitle;
lblxVersion.Text = Assembly.GetExecutingAssembly().GetName().Version.ToString();
lblxCopyright.Text = Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyCopyrightAttribute>().Copyright;
var owner = (FormMain)Owner;
owner.OnChangeLang += Owner_OnChangeLang;
}

private void Owner_OnChangeLang(ILangPack pack)
{

}

private void lblxAuthor_Click(object sender, System.EventArgs e)
Expand Down
1 change: 0 additions & 1 deletion src/LosslessZoom/FormCopyright.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 2 additions & 12 deletions src/LosslessZoom/FormCopyright.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,7 @@ public FormCopyright(ILangPack pack)

private void FormCopyright_Load(object sender, EventArgs e)
{
txtInfo.Text = """
本程序可供个人/企业/学校/政府机关等自由场合任意安装和使用。
* 注意事项
- 本程序受著作权法和软件保护法的保护,除保护法条款中��许或非限制的范围以外,任何人对本程序进行的逆向工程、反编译、重新组装都将被视为违法。
- 本程序未经著作权个人或公司许可绝对禁止用于商业用途。

* 版权信息
- 本程序使用的 Real-ESRGAN AI引擎是直接从 https://github.com/xinntao/Real-ESRGAN 下载的,并遵循 BSD 3-Clause License 公共许可协议。
- 本程序使用的 TG.INI 配置文件读取写插件是直接从 https://github.com/troygeiger/TG.INI 下载的,并遵循 GPL 3.0 License 公共许可协议。
- 本程序使用的 SunnyUI 开源控件库是直接从 https://github.com/yhuse/SunnyUI 下载的,并遵循 GPL 3.0 License 公共许可协议。
- 本程序著作权归 Lucifer (https://github.com/X-Lucifer) 所有。
""";
Text = _pack.FormCopyright_Title;
txtInfo.Text = _pack.FormCopyright_txtInfo;
}
}
Loading

0 comments on commit d0afdf1

Please sign in to comment.