コード例 #1
0
 private void button12_Click(object sender, EventArgs e)
 {
     using (frmSearchForSelectedEquiry frm = new frmSearchForSelectedEquiry())
     {
         frm.ShowDialog();
     }
 }
コード例 #2
0
 private void btnSearchForEnquiry_Click(object sender, EventArgs e)
 {
     using (frmSearchForSelectedEquiry frm = new frmSearchForSelectedEquiry())
     {
         frm.ShowDialog();
         this.refreshInProgressEnquiry(frm.SelectedEnquiryID);
         if (enquiryInprogressBindingSource.Count > 0)
         {
             this.enableFormControlsIfNoEnquiryLoaded();
         }
         else
         {
             this.disableFormControlsIfNoEnquiryLoaded();
         }
     }
 }