Beispiel #1
0
        private void btnModify_Click(object sender, EventArgs e)
        {
            modifyForm modifyForm = new modifyForm();

            modifyForm.rBtnAdminChecked = true;
            modifyForm.Show();
        }
Beispiel #2
0
        private void btnChangePwd_Click(object sender, EventArgs e)
        {
            modifyForm modifyForm = new modifyForm();

            if (!rBtnAdmin.Checked && !rBtnEngin.Checked)
            {
                MessageBox.Show("请选择管理员或工程师");
            }
            else
            {
                modifyForm.Show();
                modifyForm.rBtnAdminChecked = rBtnAdmin.Checked;
                modifyForm.rBtnEnginChecked = rBtnEngin.Checked;
            }
        }