private void BtmInsertRequest_Click(object sender, EventArgs e) { RequestInsert frmRequestInsert = new RequestInsert(); frmRequestInsert.cnConnection = this.cnConnection; frmRequestInsert.setSettings = this.setSettings; frmRequestInsert.usUser = this.usUser; frmRequestInsert.ShowDialog(); }
private void btmInsert_Click(object sender, EventArgs e) { this.btmInsert.Enabled = false; RequestInsert frmRequestInsert = new RequestInsert(); frmRequestInsert.Owner = this; frmRequestInsert.setSettings = this.setSettings; frmRequestInsert.usUser = this.usUser; frmRequestInsert.cnConnection = this.cnConnection; frmRequestInsert.ShowDialog(); this.btmInsert.Enabled = true; }