private void ToolStripMenuItem4_Click(object sender, EventArgs e) { using (var form = new ChangePwdForm()) { form.ShowDialog(); } }
private void linkLbl_ChangePwd_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (var form = new ChangePwdForm()) { Hide(); form.ShowDialog(); Show(); } }