Пример #1
0
 private void ToolStripMenuItem4_Click(object sender, EventArgs e)
 {
     using (var form = new ChangePwdForm())
     {
         form.ShowDialog();
     }
 }
Пример #2
0
 private void linkLbl_ChangePwd_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     using (var form = new ChangePwdForm())
     {
         Hide();
         form.ShowDialog();
         Show();
     }
 }