Exemple #1
0
        static void Main(string[] args)
        {
            var bootLoader = new BootLoader(args);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmMain(bootLoader));
        }
Exemple #2
0
 public FrmMain(BootLoader bootLoader)
 {
     BootSetting = bootLoader;
     InitializeComponent();
     SetEventHandler();
     LoadFolderList();
     if (!string.IsNullOrWhiteSpace(BootSetting.LoadingFolder))
     {
         SrcFolderPath = BootSetting.LoadingFolder;
     }
 }