/YANF

Yami An Nephilim Framework

Primary LanguageC#MIT LicenseMIT

YAMI AN NEPHILIM FRAMEWORK

YANF is based on .NET Framework 4.8.1, YANF use for Windows Forms App project with C# or Visual Basic programming languages.

INSTALL

https://www.nuget.org/packages/Tynab.YANF

PM> NuGet\Install-Package Tynab.YANF

IMAGE DEMO

CODE DEMO

MESSAGEBOX

/* 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);
	...
}

SCREEN

/* 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();
    ...
}

FORM

  • MessageBox new style (support for 3 languages)
  • Wait screen
  • Load screen
  • Update screen

CONTROL

  • Button new style
  • ProgressBar new style
  • RadioButton new style
  • TextBox new style
  • CirclePictureBox
  • DropdownList
  • GradientPanel
  • NumBox
  • ToggleButton

EXTENSION

  • Numeric
  • Text
  • List
  • Random
  • Process
  • Task
  • Display
  • Timer
  • Event

OTHER

  • Password

See wiki for more details