YANF
v1.0.2
YANF is based on .NET Framework 4.8.1, YANF use for Windows Forms App project with C# or Visual Basic programming languages.
https://www.nuget.org/packages/Tynab.YANF
PM> NuGetInstall-Package Tynab.YANF
/* Show Japanese MessageBox */
using YANF.Script;
using static System.Windows.Forms.MessageBoxButtons;
using static System.Windows.Forms.MessageBoxIcon;
using static YANF.Script.YANConstant.MsgBoxLang;
// Method
private void Func()
{
...
YANMessageBox.Show("情報", "完了!", OK, Information, JAP);
...
}
/* Show Load screen */
using YANF.Script;
using YANF.Script.Service;
// Fields
private IYANDlvScrService _dlvScrService;
private int _percent;
// Button click
private void Btn_Click(object sender, EventArgs e)
{
...
_dlvScrService = new YANLoadScrService();
_dlvScrService.OnLoader(this);
this.FadeOut();
...
}
// Method
private void Func()
{
...
_ = Invoke((MethodInvoker)delegate
{
_dlvScrService.PublishValue(_percent, null, 0);
});
...
}
/* Call test screen */
using YANF.Script;
// Method
private void Func()
{
...
new MainFrm().Show();
...
}
See wiki for more details