Exemplo n.º 1
0
        private void Frm_Main_Load(object sender, EventArgs e)
        {
            Frm_Start frm = new Frm_Start();                    //實例化Form2視窗物件

            frm.StartPosition = FormStartPosition.CenterScreen; //設定視窗居中顯示
            frm.ShowDialog();                                   //顯示Form2視窗
        }
Exemplo n.º 2
0
        private void Frm_Main_Load(object sender, EventArgs e)
        {
            Frm_Start frm = new Frm_Start();                    //实例化Form2窗体对象

            frm.StartPosition = FormStartPosition.CenterScreen; //设置窗体居中显示
            frm.ShowDialog();                                   //显示Form2窗体
        }