Beispiel #1
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     try
     {
         if (!this.dxValidationProvider1.Validate())
         {
             return;
         }
         if (_ObjEsupplier == null)
         {
             _ObjEsupplier = new ESupplier();
         }
         ParseSupplierDetails();
         ObjBSupplier = new BSupplier();
         ObjBSupplier.SaveArticle(_ObjEsupplier);
         this.Close();
     }
     catch (Exception ex) { Utility.ShowError(ex); }
 }