static void Main()
        {
            OSProcess.HasSingle();
            CustomConfig.Init();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            LogInterface.Listen(CustomConfig._LogDirectoryName.ToString());

            Application.Run(new FrmMain());
        }
예제 #2
0
        static void Main()
        {
            //zh
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            CustomConfig.GetSystemParameters();
            LogInterface.Listen(CustomConfig.LogDirectoryName.ToString());

            Application.Run(new Logon());
        }
예제 #3
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     CustomConfig.GetSystemParameters();
     LogInterface.Listen(CustomConfig.LogDirectoryName.ToString());
     Console.Write(sizeof(int));
 }