// // Add New Employee private void btAdd_Click(object sender, EventArgs e) { btCancel.Enabled = true; setText(new Employee()); txID.Text = MyAction.AutoIncreaseID("E", ed.EmployeeIdMax(), 5); grStatistical.Enabled = false; btApply.Enabled = true; State = EnumStateAction.Insert; }