Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
Latest commit
36 lines (33 loc) · 1.05 KB
/
Copy pathProgram.cs
File metadata and controls
36 lines (33 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
usingOneClickZip.Forms.Help;
usingOneClickZip.Forms.Loading;
usingOneClickZip.Forms.Options;
usingOneClickZip.Includes.Classes;
usingOneClickZip.Includes.Models;
usingSystem;
usingSystem.Windows.Forms;
namespaceOneClickZip
{
staticclassProgram
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
staticvoidMain(string[]args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
ApplicationArgumentModelapplicationArgumentModel=newApplicationArgumentModel(args);
ProjectSession.Instance().ApplicationArgumentModel=applicationArgumentModel;
if(applicationArgumentModel.IsOpenProjectBatchFile)
{
Application.Run(newOneClickProcessorFrm());
}
else
{
SplashScreenDesignerFrm.GetIntance().Show();
Application.Run(newZipDesigner());
}
}
}
}