YANF
v1.0.2
YANF didasarkan pada .NET Framework 4.8.1, YANF digunakan untuk proyek Aplikasi Windows Forms dengan bahasa pemrograman C# atau Visual Basic.
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 ( ) ;
.. .
}
Lihat wiki untuk lebih jelasnya