コード例 #1
0
 private void changePasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     ChangePassword f = new ChangePassword(ed);
     f.MdiParent = this;
     f.Dock = DockStyle.Fill;
     f.Show();
 }
コード例 #2
0
 //
 //On click of Change Password button: Navigates to Change Password Form
 //
 private void changePassword_Click(object sender, EventArgs e)
 {
     ChangePassword f1 = new ChangePassword(emp);
     f1.MdiParent = this.MdiParent;
     f1.Dock = DockStyle.Fill;
     this.Close();
     f1.Show();
 }