Example #1
0
        //数据库配置
        private void btnDataBaseConfig_Click(object sender, EventArgs e)
        {
            FrmDBConfiguration frm = new FrmDBConfiguration();

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
        }
Example #2
0
        //设置数据库
        private void btnSet_Click(object sender, EventArgs e)
        {
            FrmDBConfiguration con = new FrmDBConfiguration();

            con.StartPosition = FormStartPosition.CenterParent;
            con.ShowDialog();
            tbxUserName.Focus();
        }