Exemplo n.º 1
0
 private void gdvSupplier_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         GridView view = (GridView)sender;
         Model.Internal.Supplier supplierObj  = (Model.Internal.Supplier)view.GetRow(view.FocusedRowHandle);
         Report.CostSupplier     costSupplier = new Report.CostSupplier(supplierObj, Uow);
         costSupplier.ShowDialog();
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }
Exemplo n.º 2
0
 private void gdvSupplier_DoubleClick(object sender, EventArgs e)
 {
     try
     {
         GridView view = (GridView)sender;
         Model.Internal.Supplier supplierObj = (Model.Internal.Supplier)view.GetRow(view.FocusedRowHandle);
         Report.CostSupplier costSupplier = new Report.CostSupplier(supplierObj, Uow) ;
         costSupplier.ShowDialog();
     }
     catch (System.Exception excepion1)
     {
         System.Exception thisException = excepion1;
         Management.ShowException(thisException);
     }
 }