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> NuGet\Install-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();
...
}
- MessageBox new style (support for 3 languages)
- Wait screen
- Load screen
- Update screen
- Button new style
- ProgressBar new style
- RadioButton new style
- TextBox new style
- CirclePictureBox
- DropdownList
- GradientPanel
- NumBox
- ToggleButton
- Numeric
- Text
- List
- Random
- Process
- Task
- Display
- Timer
- Event
- Password