Example #1
0
 private void gdvFuelDelivery_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         GridView view = (GridView)sender;
         FuelDeliveryObject fuelDelivery = (FuelDeliveryObject)view.GetRow(view.FocusedRowHandle);
         TIS.Client.Fuel.FuelDeliveryDetail fuelDeliveryDetail = new FuelDeliveryDetail(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, fuelDelivery);
         if (fuelDeliveryDetail.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             this.FilterDelivery();
         }
     }
     catch (System.Exception excepion1)
     {
         Cursor.Current = Cursors.Default;
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }
Example #2
0
 private void gdvFuelDelivery_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         GridView view = (GridView)sender;
         FuelDeliveryObject fuelDelivery = (FuelDeliveryObject)view.GetRow(view.FocusedRowHandle);
         TIS.Client.Fuel.FuelDeliveryDetail fuelDeliveryDetail = new FuelDeliveryDetail(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, fuelDelivery);
         if (fuelDeliveryDetail.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             this.FilterDelivery();
         }
     }
     catch (System.Exception excepion1)
     {
         Cursor.Current = Cursors.Default;
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }