private void btn_changepwd_Click(object sender, EventArgs e) { ChangePwd1 childrenForm = new ChangePwd1(id); childrenForm.Owner = this; childrenForm.Show(); }
public ChangePwd2(ChangePwd1 pform, string uid) { InitializeComponent(); parent = pform; id = uid; }