Exemplo n.º 1
0
 private static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     {
         FoldersFilesUtils.CreateFolder();
     }
     Application.Run(new MainForm());
 }
Exemplo n.º 2
0
 private static void Main()
 {
     AppDomain.CurrentDomain.AssemblyResolve += (sender, args) =>
     {
         if (args.Name.Contains("Newtonsoft.Json"))
         {
             return(Assembly.Load(Decompress(Resources.Newtonsoft_Json)));
         }
         return(null);
     };
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     {
         FoldersFilesUtils.CreateFolder();
     }
     Application.Run(new MainForm());
 }