Example #1
0
        private void BtnAccountSettings_Click(object sender, System.EventArgs e)
        {
            FrmAccount form = new FrmAccount();

            form.Context = Context;
            if (form.ShowDialog() == DialogResult.OK)
            {
                Context = form.Context;
            }
        }
Example #2
0
 private void BtnAccountSettings_Click(object sender, System.EventArgs e)
 {
     FrmAccount form = new FrmAccount();
     form.Context = Context;
     if (form.ShowDialog() == DialogResult.OK)
         Context = form.Context;
 }