コード例 #1
0
        private void Set_Form_For_Read()
        {
            this.grbActivationProcess.Visible = false;
            this.tmrTimer.Enabled             = false;

            this.dgvPayrollTypeDataGridView.Enabled = true;
            this.picPayrollTypeLock.Visible         = false;

            this.btnNew.Enabled = true;

            this.btnSave.Enabled   = false;
            this.btnCancel.Enabled = false;

            this.btnAdd.Enabled       = false;
            this.btnAddAll.Enabled    = false;
            this.btnRemove.Enabled    = false;
            this.btnRemoveAll.Enabled = false;

            clsISUtilities.Calender_Control_From_TextBox_Disable(this.txtDate);
            this.cboRunDate.Enabled = false;

            clsISUtilities.Set_Form_For_Read();

            Clear_Form_Fields();
        }