Exemplo n.º 1
0
 private void OnFormLoad(object sender, EventArgs e)
 {
     //Event handler for form load event
     this.Cursor = Cursors.WaitCursor;
     try {
         //Set initial service states
         this.Visible = true;
         this.mDeliveryDS.Merge(CustomerProxy.GetDeliveries(this.mCompanyID, this.mStoreNumber, this.mFrom, this.mTo));
     }
     catch (Exception ex) { reportError(ex); }
     finally { OnValidateForm(null, EventArgs.Empty);  this.Cursor = Cursors.Default; }
 }