private void Set_Form_For_Edit() { this.dgvPayrollTypeDataGridView.Enabled = false; this.picPayrollTypeLock.Visible = true; this.btnNew.Enabled = false; this.btnSave.Enabled = true; this.btnCancel.Enabled = true; clsISUtilities.Calender_Control_From_TextBox_Enable(this.txtDate); clsISUtilities.Set_Form_For_Edit(false); this.cboRunDate.Enabled = true; this.btnAdd.Enabled = true; this.btnAddAll.Enabled = true; this.btnRemove.Enabled = true; this.btnRemoveAll.Enabled = true; this.Clear_DataGridView(this.dgvChosenEmployeeDataGridView); }