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); } }
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); } }