示例#1
0
        private void showDBconf(Form parent)
        {
            DBConf frm = new DBConf();

            frm.StartPosition = FormStartPosition.CenterParent;
            frm.ShowDialog();
        }
示例#2
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            this.AutoSize = true;
            DBConf frm = new DBConf();

            frm.StartPosition = FormStartPosition.CenterParent;
            frm.ShowDialog();
        }