Esempio n. 1
0
 private void loadAllCombo()
 {
     if (bllReference.getdtFinish(ref dtFinish) != 0)
     {
         return;
     }
     bllReference.dtFinish = dtFinish;
     DataContext           = bllReference;
     if (bllReference.getdtCoating(ref dtCoating) != 0)
     {
         return;
     }
     bllReference.dtCoating = dtCoating;
     if (bllProInfo.GetForecastLocation(ref dtForecastLocation) != 0)
     {
         return;
     }
     bllReference.ForecastLocation = dtForecastLocation;
     if (bllReference.getCustomer(ref dtCustomer) != 0)
     {
         return;
     }
     DataContext            = bllReference;
     cmbCustomer.DataSource = dtCustomer.DefaultView;
 }