Ejemplo n.º 1
0
 private void Firm_Load(object sender, EventArgs e)
 {
     try
     {
         firmService = new FirmService();
         firmService.GetAllFirm();
         var firmName = txtFirmName.Text;
         btnFirmDelete.Enabled = false;
         firmId = 0;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, Comman.Product_Name, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     finally
     {
         firmService = null;
     }
 }