/// <summary> /// 创建用户添加窗体 /// </summary> public void CreateUserWindow() { frmCreateUser fcu = new frmCreateUser(); fcu.Owner = this; fcu.ShowDialog(); }
private void btnupdateuser_Click(object sender, EventArgs e) { frmCreateUser fcu = new frmCreateUser(); fcu.Text = "修改用户信息"; fcu.Owner = this; fcu.ShowDialog(); }