private void insert_Click(object sender, EventArgs e) { EmployeeInsertUpdateSearchForm employeeInsertUpdateSearchForm = new EmployeeInsertUpdateSearchForm(this); employeeInsertUpdateSearchForm.changeEnableUpdate(false); employeeInsertUpdateSearchForm.changeEnableSearch(false); employeeInsertUpdateSearchForm.visibleAccount(); employeeInsertUpdateSearchForm.ShowDialog(); }
private void search_Click(object sender, EventArgs e) { EmployeeInsertUpdateSearchForm employeeInsertUpdateSearch = new EmployeeInsertUpdateSearchForm(this); employeeInsertUpdateSearch.changeEnableInsert(false); employeeInsertUpdateSearch.changeEnableUpdate(false); employeeInsertUpdateSearch.changeEnableDateTimePicker(false); employeeInsertUpdateSearch.hidePassword(); employeeInsertUpdateSearch.ShowDialog(); }