示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ConfigFileManager cfgFileMan = new ConfigFileManager();
            MainForm form = new MainForm(cfgFileMan);
            Application.Run(form);
        }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ConfigFileManager cfgFileMan = new ConfigFileManager();
            MainForm          form       = new MainForm(cfgFileMan);

            Application.Run(form);
        }
示例#3
0
文件: Form1.cs 项目: MASKEDRC/client
 public MainForm(ConfigFileManager cfgFileMan)
 {
     this.cfgFileManager = cfgFileMan;
     InitializeComponent();
     InitializeCustomComponent();
 }
示例#4
0
 public MainForm(ConfigFileManager cfgFileMan)
 {
     this.cfgFileManager = cfgFileMan;
     InitializeComponent();
     InitializeCustomComponent();
 }