Пример #1
0
 private void button8_Click(object sender, EventArgs e)
 {
     using (InsuranceDialog form = new InsuranceDialog(CustomerID))
     {
         DialogResult dr = form.ShowDialog();
         if (dr == DialogResult.OK)
         {
         }
     }
 }
Пример #2
0
 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);
         }
     }
 }
Пример #3
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     using (InsuranceDialog form = new InsuranceDialog(null))
     {
         DialogResult dr = form.ShowDialog();
         if (dr == DialogResult.OK)
         {
             LoadData();
         }
     }
 }
Пример #4
0
 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);
         }
     }
 }