private void toolEqAdd_Click(object sender, EventArgs e) { frmEqAdd frmadd = new frmEqAdd(); frmadd.Sysuser = this._user; frmadd.Power = this._power; frmadd.ShowDialog(); this.Close(); }
private void Menu_Eq_Add_Click(object sender, EventArgs e) { frmEqAdd frmadd = new frmEqAdd(); frmadd.Booker = this._user; if (frmadd.ShowDialog() == DialogResult.Cancel) { this.DataRefresh(); } }