private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); { FoldersFilesUtils.CreateFolder(); } Application.Run(new MainForm()); }
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()); }