BKI_DichVuMatDat.DanhMuc.F105_dm_loai_ngay_cong_de.check_data_is_ok C# (CSharp) Method

check_data_is_ok() private method

private check_data_is_ok ( ) : bool
return bool
        private bool check_data_is_ok()
        {
            if (m_txt_ma_ngay_cong.Text == null || m_txt_ma_ngay_cong.Text == "")
            {
                CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_NHAP_MA_LOAI_NGAY_CONG);
                return false;
            }
            if (m_txt_ten_ngay_cong.Text == null || m_txt_ten_ngay_cong.Text == "")
            {
                CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_NHAP_TEN_LOAI_NGAY_CONG);
                return false;
            }
            if (m_txt_ti_le_lns.EditValue == null)
            {
                CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_NHAP_TI_LE_LNS);
                return false;
            }
            if (m_txt_ti_le_lcd.EditValue == null)
            {
                CHRM_BaseMessages.MsgBox_Error(CONST_ID_MSGBOX.ERROR_CHUA_NHAP_TI_LE_LCD);
                return false;
            }
            return true;
        }