示例#1
0
        private void menuItemNormal_Click(object sender, EventArgs e)
        {
            var frm = FrmManager.GetFrm("MainForm");

            this.Hide();
            frm.Show();
            frm.Location = this.Location;
        }
示例#2
0
        private void menuItemEasyUI_Click(object sender, EventArgs e)
        {
            var frm = FrmManager.GetFrm("EasyUIAutoFrm");

            this.Hide();
            frm.Show();
            frm.Location = this.Location;
        }
示例#3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            string start = ConfigManager.GetDefaultStartFrm();
            var    frm   = FrmManager.GetFrm(start);

            Application.Run(frm);
        }