private void button8_Click(object sender, EventArgs e) { using (InsuranceDialog form = new InsuranceDialog(CustomerID)) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { } } }
private void toolStripMenuItem3_Click_1(object sender, EventArgs e) { using (InsuranceDialog form = new InsuranceDialog(null)) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { toolStripMenuItem4_Click_1(null, null); } } }
private void toolStripButton2_Click(object sender, EventArgs e) { using (InsuranceDialog form = new InsuranceDialog(null)) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { LoadData(); } } }
private void button8_Click(object sender, EventArgs e) { using (InsuranceDialog form = new InsuranceDialog(CustomerID)) { DialogResult dr = form.ShowDialog(); if (dr == DialogResult.OK) { customerCbx.Text = Helper.CurrentCustomer; customerCbx_SelectedIndexChanged(null, null); } } }