private void CompanyEditButton_Click(object sender, EventArgs e) { company.ID = ID; company.Name = companyNameTextBox.Text; int isExecuted; isExecuted = _companyManager.EditCompany(company); if (isExecuted > 0) { MessageBox.Show("Updated"); } else { MessageBox.Show("Not Updated!!"); } this.ShowCompany(); }