private void btnSupplierSearch_Click(object sender, EventArgs e) { OperationResult objOperationResult = new OperationResult(); frmSupplier frm = new frmSupplier("View"); frm.ShowDialog(); _SupplierId = frm._SupplierId; if (_SupplierId == null) { return; } SupplierBL objSupplierBL = new SupplierBL(); supplierDto objSupplierDto = new supplierDto(); objSupplierDto = objSupplierBL.GetSupplier(ref objOperationResult, _SupplierId); txtSupplier.Text = objSupplierDto.v_Name; }
private void administradorProveedoresToolStripMenuItem_Click(object sender, EventArgs e) { frmSupplier frm = new frmSupplier(); frm.ShowDialog(); }