コード例 #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();
     }
 }