private void InitializeSetting()
        {
            //메인 화면 공통 메세지 처리           _아래애 MainForm지우기
            _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
            _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
            _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
            _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
            _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
            _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
            _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
            _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
            _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
            _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
            _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
            _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
            _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
            _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
            _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
            //추가
            _pMSG_PLZ_CONNECT_FTP           = _pMessageEntity.MSG_PLZ_CONNECT_FTP;
            _pMSG_AGAIN_INPUT_DATA          = _pMessageEntity.MSG_AGAIN_INPUT_DATA;
            _pMSG_DOWNLOAD_COMPLETE         = _pMessageEntity.MSG_DOWNLOAD_COMPLETE;
            _pMSG_SEARCH_EMPT_DETAIL        = _pMessageEntity.MSG_SEARCH_EMPT_DETAIL;
            _pMSG_SPLITQTY_LARGE_MORE       = _pMessageEntity.MSG_SPLITQTY_LARGE_MORE;
            _pMSG_DELETE_ERROR_NO_DATA      = _pMessageEntity.MSG_DELETE_ERROR_NO_DATA;
            _pMSG_ORDERQTY_LARGE_THAN_0     = _pMessageEntity.MSG_ORDERQTY_LARGE_THAN_0;
            _pMSG_PLAN_LARGE_THAN_ORDER     = _pMessageEntity.MSG_PLAN_LARGE_THAN_ORDER;
            _pMSG_DELETE_ERROR_CONNECT_FTP  = _pMessageEntity.MSG_DELETE_ERROR_CONNECT_FTP;
            _pMSG_INPUT_LESS_THAN_NOTOUTQTY = _pMessageEntity.MSG_INPUT_LESS_THAN_NOTOUTQTY;
            _pMSG_LOAD_DATA                    = _pMessageEntity.MSG_LOAD_DATA;
            _pMSG_NEW_REG_GUBN                 = _pMessageEntity.MSG_NEW_REG_GUBN;
            _pMSG_INPUT_NUMERIC                = _pMessageEntity.MSG_INPUT_NUMERIC;
            _pMSG_NO_SELETED_ITEM              = _pMessageEntity.MSG_NO_SELETED_ITEM;
            _pMSG_EXIST_COMPANY_ID             = _pMessageEntity.MSG_EXIST_COMPANY_ID;
            _pMSG_NOT_DELETE_DATA_IN           = _pMessageEntity.MSG_NOT_DELETE_DATA_IN;
            _pMSG_NOT_MODIFY_DATA_IN           = _pMessageEntity.MSG_NOT_MODIFY_DATA_IN;
            _pMSG_SELECT_NEWREG_SAVE           = _pMessageEntity.MSG_SELECT_NEWREG_SAVE;
            _pMSG_INPUT_LARGER_THAN_0          = _pMessageEntity.MSG_INPUT_LARGER_THAN_0;
            _pMSG_NOT_DELETE_DATA_OUT          = _pMessageEntity.MSG_NOT_DELETE_DATA_OUT;
            _pMSG_NOT_MODIFY_DATA_OUT          = _pMessageEntity.MSG_NOT_MODIFY_DATA_OUT;
            _pMSG_CANCLE_NEWREG_MODIFY         = _pMessageEntity.MSG_CANCLE_NEWREG_MODIFY;
            _pMSG_NO_SELETED_ITEM_OR_NO_SAVE   = _pMessageEntity.MSG_NO_SELETED_ITEM_OR_NO_SAVE;
            _pMSG_NO_INPUT_LAGER_THAN_NOTINQTY = _pMessageEntity.MSG_NO_INPUT_LAGER_THAN_NOTINQTY;
            _pMSG_REG_DATA                 = _pMessageEntity.MSG_REG_DATA;
            _pMSG_ADD_FAVORITE_ITEM        = _pMessageEntity.MSG_ADD_FAVORITE_ITEM;
            _pMSG_CHECK_SEARCH_DATE        = _pMessageEntity.MSG_CHECK_SEARCH_DATE;
            _pMSG_NOT_DISPLAY_ERROR        = _pMessageEntity.MSG_NOT_DISPLAY_ERROR;
            _pMSG_NO_EXIST_INPUT_DATA      = _pMessageEntity.MSG_NO_EXIST_INPUT_DATA;
            _pMSG_NOT_DISPLAY_NOT_SAVE     = _pMessageEntity.MSG_NOT_DISPLAY_NOT_SAVE;
            _pMSG_CHECK_VALID_ITEM         = _pMessageEntity.MSG_CHECK_VALID_ITEM;
            _pMSG_DELETE_FAVORITE_ITEM     = _pMessageEntity.MSG_DELETE_FAVORITE_ITEM;
            _pMSG_NOT_EXIST_PRINTING_EXCEL = _pMessageEntity.MSG_NOT_EXIST_PRINTING_EXCEL;
            _pMSG_SELECT_DOWNLOAD_TEMPLETE = _pMessageEntity.MSG_SELECT_DOWNLOAD_TEMPLETE;
            _pMSG_RESET_COMPLETE           = _pMessageEntity.MSG_RESET_COMPLETE;


            _pWorkOrderInfoPopup_T03Entity = new ucWorkOrderInfoPopup_T03Entity();

            //화면 설정 언어 & 명칭 변경. ==고정==
            DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

            if (dtLanguage != null && dtLanguage.Rows.Count > 0)
            {
                CoFAS_ControlManager.Language_Info(dtLanguage, this);
            }

            _pWorkOrderInfoPopup_T03Entity.LANGUAGE_TYPE = _pLANGUAGE_TYPE;
            //화면 컨트롤러 설정
            InitializeControl();
            _sdMAIN = new CORE.BaseControls.ucSpreadSheetControl();

            //그리드 설정 ==고정==
            _gdMAIN_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));
            _gdMAIN_VIEW.CellValueChanged += _gdMAIN_VIEW_CellValueChanged;
        }
Example #2
0
        private void InitializeSetting()
        {
            //메인 화면 공통 메세지 처리           _아래애 MainForm지우기
            _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
            _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
            _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
            _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
            _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
            _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
            _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
            _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
            _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
            _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
            _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
            _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
            _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
            _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
            _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
            //추가
            _pMSG_PLZ_CONNECT_FTP           = _pMessageEntity.MSG_PLZ_CONNECT_FTP;
            _pMSG_AGAIN_INPUT_DATA          = _pMessageEntity.MSG_AGAIN_INPUT_DATA;
            _pMSG_DOWNLOAD_COMPLETE         = _pMessageEntity.MSG_DOWNLOAD_COMPLETE;
            _pMSG_SEARCH_EMPT_DETAIL        = _pMessageEntity.MSG_SEARCH_EMPT_DETAIL;
            _pMSG_SPLITQTY_LARGE_MORE       = _pMessageEntity.MSG_SPLITQTY_LARGE_MORE;
            _pMSG_DELETE_ERROR_NO_DATA      = _pMessageEntity.MSG_DELETE_ERROR_NO_DATA;
            _pMSG_ORDERQTY_LARGE_THAN_0     = _pMessageEntity.MSG_ORDERQTY_LARGE_THAN_0;
            _pMSG_PLAN_LARGE_THAN_ORDER     = _pMessageEntity.MSG_PLAN_LARGE_THAN_ORDER;
            _pMSG_DELETE_ERROR_CONNECT_FTP  = _pMessageEntity.MSG_DELETE_ERROR_CONNECT_FTP;
            _pMSG_INPUT_LESS_THAN_NOTOUTQTY = _pMessageEntity.MSG_INPUT_LESS_THAN_NOTOUTQTY;
            _pMSG_LOAD_DATA                    = _pMessageEntity.MSG_LOAD_DATA;
            _pMSG_NEW_REG_GUBN                 = _pMessageEntity.MSG_NEW_REG_GUBN;
            _pMSG_INPUT_NUMERIC                = _pMessageEntity.MSG_INPUT_NUMERIC;
            _pMSG_NO_SELETED_ITEM              = _pMessageEntity.MSG_NO_SELETED_ITEM;
            _pMSG_EXIST_COMPANY_ID             = _pMessageEntity.MSG_EXIST_COMPANY_ID;
            _pMSG_NOT_DELETE_DATA_IN           = _pMessageEntity.MSG_NOT_DELETE_DATA_IN;
            _pMSG_NOT_MODIFY_DATA_IN           = _pMessageEntity.MSG_NOT_MODIFY_DATA_IN;
            _pMSG_SELECT_NEWREG_SAVE           = _pMessageEntity.MSG_SELECT_NEWREG_SAVE;
            _pMSG_INPUT_LARGER_THAN_0          = _pMessageEntity.MSG_INPUT_LARGER_THAN_0;
            _pMSG_NOT_DELETE_DATA_OUT          = _pMessageEntity.MSG_NOT_DELETE_DATA_OUT;
            _pMSG_NOT_MODIFY_DATA_OUT          = _pMessageEntity.MSG_NOT_MODIFY_DATA_OUT;
            _pMSG_CANCLE_NEWREG_MODIFY         = _pMessageEntity.MSG_CANCLE_NEWREG_MODIFY;
            _pMSG_NO_SELETED_ITEM_OR_NO_SAVE   = _pMessageEntity.MSG_NO_SELETED_ITEM_OR_NO_SAVE;
            _pMSG_NO_INPUT_LAGER_THAN_NOTINQTY = _pMessageEntity.MSG_NO_INPUT_LAGER_THAN_NOTINQTY;
            _pMSG_REG_DATA                 = _pMessageEntity.MSG_REG_DATA;
            _pMSG_ADD_FAVORITE_ITEM        = _pMessageEntity.MSG_ADD_FAVORITE_ITEM;
            _pMSG_CHECK_SEARCH_DATE        = _pMessageEntity.MSG_CHECK_SEARCH_DATE;
            _pMSG_NOT_DISPLAY_ERROR        = _pMessageEntity.MSG_NOT_DISPLAY_ERROR;
            _pMSG_NO_EXIST_INPUT_DATA      = _pMessageEntity.MSG_NO_EXIST_INPUT_DATA;
            _pMSG_NOT_DISPLAY_NOT_SAVE     = _pMessageEntity.MSG_NOT_DISPLAY_NOT_SAVE;
            _pMSG_CHECK_VALID_ITEM         = _pMessageEntity.MSG_CHECK_VALID_ITEM;
            _pMSG_DELETE_FAVORITE_ITEM     = _pMessageEntity.MSG_DELETE_FAVORITE_ITEM;
            _pMSG_NOT_EXIST_PRINTING_EXCEL = _pMessageEntity.MSG_NOT_EXIST_PRINTING_EXCEL;
            _pMSG_SELECT_DOWNLOAD_TEMPLETE = _pMessageEntity.MSG_SELECT_DOWNLOAD_TEMPLETE;
            _pMSG_RESET_COMPLETE           = _pMessageEntity.MSG_RESET_COMPLETE;

            //화면 설정 언어 & 명칭 변경. ==고정==
            DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

            if (dtLanguage != null && dtLanguage.Rows.Count > 0)
            {
                CoFAS_ControlManager.Language_Info(dtLanguage, this);
            }

            //그리드 설정 ==고정==

            _gdMAIN_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));

            _pCRUD = "R";

            MainFind_DisplayData();                               //Dev Grid 데이터소스 로 바인딩 작업 처리 할 경우에는 최초 빈 데이터 테이블을 바인딩 해야 됨.

            _gdMAIN_VIEW.DoubleClick += _gdMAIN_VIEW_DoubleClick; //그리드 로우 마우스 선택으로 값 넘길경우 필수

            //그리드 설정 ==고정==
        }
Example #3
0
        private void InitializeSetting()
        {
            //메인 화면 공통 메세지 처리           _아래애 MainForm지우기
            _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
            _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
            _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
            _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
            _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
            _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
            _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
            _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
            _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
            _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
            _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
            _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
            _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
            _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
            _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
            _pMSG_RESET_COMPLETE   = _pMessageEntity.MSG_RESET_COMPLETE;
            _pMSG_CHECK_VALID_ITEM = _pMessageEntity.MSG_CHECK_VALID_ITEM;
            //_pMSG_NOT_USE = _pMessageEntity.MSG_NOT_USE;

            //메뉴 화면 엔티티 설정

            _pucPartDocumentListPopup_T02Entity = new ucPartDocumentListPopup_T02Entity();
            _pFTP_ID   = ARRAY_CODE[3].ToString();
            _pFTP_PW   = ARRAY_CODE[4].ToString();
            _pFTP_PATH = ARRAY_CODE[6].ToString();

            _pucPartDocumentListPopup_T02Entity.FTP_ID        = _pFTP_ID;
            _pucPartDocumentListPopup_T02Entity.FTP_PW        = _pFTP_PW;
            _pucPartDocumentListPopup_T02Entity.CORP_CODE     = _pCORP_CODE;
            _pucPartDocumentListPopup_T02Entity.USER_CODE     = _pUSER_CODE;
            _pucPartDocumentListPopup_T02Entity.LANGUAGE_TYPE = _pLANGUAGE_TYPE;
            _pucPartDocumentListPopup_T02Entity.FTP_PATH      = _pFTP_PATH;
            _pucPartDocumentListPopup_T02Entity.FILE_FLAG     = _pFILE_FLAG;

            //추가 메세지 정보 조회
            dtMessage = new MessageBusiness().MessageValue_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME);
            if (dtMessage != null && dtMessage.Rows[0][0].ToString() != "")
            {
                _pMSG_NOT_USE             = dtMessage.Rows[0]["MSG_NOT_USE"].ToString();
                _pMSG_NO_FILE             = dtMessage.Rows[0]["MSG_NO_FILE"].ToString();
                _pMSG_VIEW_DOCUMENT_ERROR = dtMessage.Rows[0]["MSG_VIEW_DOCUMENT_ERROR"].ToString();
                _pMSG_NEW_REGISTER        = dtMessage.Rows[0]["MSG_NEW_REGISTER"].ToString();
            }


            //화면 설정 언어 & 명칭 변경. ==고정==
            DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

            if (dtLanguage != null && dtLanguage.Rows.Count > 0)
            {
                CoFAS_ControlManager.Language_Info(dtLanguage, this);
            }

            DateTime pDateTime      = DateTime.Today;
            DateTime pFirstDateTime = pDateTime.AddDays(1 - pDateTime.Day);

            //그리드 설정 ==고정==

            _gdMAIN_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));
            _gdSUB_VIEW  = CoFAS_DevExpressManager.Grid_Setting(_gdSUB, _gdSUB_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdSUB.Name.ToString()));

            //화면컨트롤러 설정
            _luDOCUMENT_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "DOCUMENT_TYPE", "", "", "").Tables[0], 0, 0, "", true);
            _luUSE_YN.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "USE_YN", "", "", "").Tables[0], 0, 1, "", true);
            _luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "PART_TYPE_MATERIAL_T01", "", "", "").Tables[0], 0, 1, "", true);
            _luDOCUMENT_USE_YN.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "USE_YN", "", "", "").Tables[0], 0, 1, "", true);
            _luDOCUMENT_TYPE.ItemIndex = 3;
            _luPART_CODE.Text          = ARRAY_CODE[0].ToString();
            _luPART_NAME.Text          = ARRAY_CODE[1].ToString();
            _luVEND_PART_CODE.Text     = ARRAY_CODE[2].ToString();
            _luPART_TYPE.SetValue(ARRAY_CODE[5].ToString());
            //_luPART_TYPE.Text = ARRAY_CODE[3].ToString();

            //그리드초기화

            MainFind_DisplayData(); //Dev Grid 데이터소스 로 바인딩 작업 처리 할 경우에는 최초 빈 데이터 테이블을 바인딩 해야 됨.

            //여러그리드사용시 마스터그리드는 최초실행시에만 초기화
            _gdMAIN_VIEW.RowCellClick += _gdMAIN_VIEW_RowCellClick;
            _gdSUB_VIEW.InitNewRow    += _gdSUB_VIEW_InitNewRow;

            //그리드 버튼 추가 시 클릭 이벤트 처리
            //CoFAS_DevGridEventManager.OnViewDoubleClick += CoFAS_DevGridEventManager_OnViewDoubleClick;
            //CoFAS_DevExpressManager._OnButtonPressed += CoFAS_DevExpressManager__OnButtonPressed;
            CoFAS_DevExpressManager._OnButtonPressed += CoFAS_DevExpressManager__OnButtonPressed;
            CoFAS_DevExpressManager._OnOpenButton    += CoFAS_DevExpressManager__OnOpenButton;

            //// 컨트롤러 유효성 검증 처리 기본 컨트롤러 에서만 사용
            dxValidationProvider.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual;
            dxValidationProvider.Validate();

            //컨트롤러 별 추가 이벤트 생성은 화면 설정 마지막에 진행
        }
Example #4
0
        private void InitializeSetting()
        {
            //상속 화면 패널 사용 유무

            //메인 화면 공통 메세지 처리           _아래애 MainForm지우기
            _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
            _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
            _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
            _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
            _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
            _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
            _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
            _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
            _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
            _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
            _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
            _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
            _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
            _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
            _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
            _pMSG_RESET_COMPLETE   = _pMessageEntity.MSG_RESET_COMPLETE;

            //화면 설정 언어 & 명칭 변경. ==고정==
            DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

            if (dtLanguage != null && dtLanguage.Rows.Count > 0)
            {
                CoFAS_ControlManager.Language_Info(dtLanguage, this);
            }

            //그리드 설정 ==고정==
            if ((DBManager.InitDatabaseName == "coever_mes_glenzen") || (DBManager.InitDatabaseName == "coever_mes_hpnc"))
            {
                _luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "PART_TYPE_PRODUCT", "", "", "").Tables[0], 0, 0, "");
            }
            else if (DBManager.InitDatabaseName == "coever_mes_biocerra")
            {
                _luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "PART_TYPE_PRODUCT_02", "", "", "").Tables[0], 0, 0, "");
            }
            else if ((DBManager.InitDatabaseName == "coever_mes_seongyojeongmil") ||
                     (DBManager.InitDatabaseName == "coever_mes_handoteck") || (DBManager.InitDatabaseName == "coever_mes_kdsystem") || (DBManager.InitDatabaseName == "coever_mes_yeonjuneng"))
            {
                _luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "PART_TYPE", "", "", "").Tables[0], 0, 0, "");
            }
            else
            {
                _luPART_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "PART_TYPE_PRODUCT_T01", "", "", "").Tables[0], 0, 0, "");
            }
            _luPART_TYPE.ItemIndex = 0;

            _gdMAIN_VIEW  = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));
            _luCD.Text    = _pARRAY_CODE[0].ToString();
            _luCD_NM.Text = _pARRAY_CODE[1].ToString();
            _pCRUD        = "R";

            MainFind_DisplayData();                               //Dev Grid 데이터소스 로 바인딩 작업 처리 할 경우에는 최초 빈 데이터 테이블을 바인딩 해야 됨.

            _gdMAIN_VIEW.DoubleClick += _gdMAIN_VIEW_DoubleClick; //그리드 로우 마우스 선택으로 값 넘길경우 필수

            //그리드 설정 ==고정==
        }
        private void InitializeSetting()
        {
            try
            {
                #region ○ 메인 화면 공통 메세지 처리           _아래애 MainForm지우기

                _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
                _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
                _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
                _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
                _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
                _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
                _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
                _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
                _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
                _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
                _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
                _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
                _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
                _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
                _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
                //추가
                _pMSG_PLZ_CONNECT_FTP           = _pMessageEntity.MSG_PLZ_CONNECT_FTP;
                _pMSG_AGAIN_INPUT_DATA          = _pMessageEntity.MSG_AGAIN_INPUT_DATA;
                _pMSG_DOWNLOAD_COMPLETE         = _pMessageEntity.MSG_DOWNLOAD_COMPLETE;
                _pMSG_SEARCH_EMPT_DETAIL        = _pMessageEntity.MSG_SEARCH_EMPT_DETAIL;
                _pMSG_SPLITQTY_LARGE_MORE       = _pMessageEntity.MSG_SPLITQTY_LARGE_MORE;
                _pMSG_DELETE_ERROR_NO_DATA      = _pMessageEntity.MSG_DELETE_ERROR_NO_DATA;
                _pMSG_ORDERQTY_LARGE_THAN_0     = _pMessageEntity.MSG_ORDERQTY_LARGE_THAN_0;
                _pMSG_PLAN_LARGE_THAN_ORDER     = _pMessageEntity.MSG_PLAN_LARGE_THAN_ORDER;
                _pMSG_DELETE_ERROR_CONNECT_FTP  = _pMessageEntity.MSG_DELETE_ERROR_CONNECT_FTP;
                _pMSG_INPUT_LESS_THAN_NOTOUTQTY = _pMessageEntity.MSG_INPUT_LESS_THAN_NOTOUTQTY;
                _pMSG_LOAD_DATA                    = _pMessageEntity.MSG_LOAD_DATA;
                _pMSG_NEW_REG_GUBN                 = _pMessageEntity.MSG_NEW_REG_GUBN;
                _pMSG_INPUT_NUMERIC                = _pMessageEntity.MSG_INPUT_NUMERIC;
                _pMSG_NO_SELETED_ITEM              = _pMessageEntity.MSG_NO_SELETED_ITEM;
                _pMSG_EXIST_COMPANY_ID             = _pMessageEntity.MSG_EXIST_COMPANY_ID;
                _pMSG_NOT_DELETE_DATA_IN           = _pMessageEntity.MSG_NOT_DELETE_DATA_IN;
                _pMSG_NOT_MODIFY_DATA_IN           = _pMessageEntity.MSG_NOT_MODIFY_DATA_IN;
                _pMSG_SELECT_NEWREG_SAVE           = _pMessageEntity.MSG_SELECT_NEWREG_SAVE;
                _pMSG_INPUT_LARGER_THAN_0          = _pMessageEntity.MSG_INPUT_LARGER_THAN_0;
                _pMSG_NOT_DELETE_DATA_OUT          = _pMessageEntity.MSG_NOT_DELETE_DATA_OUT;
                _pMSG_NOT_MODIFY_DATA_OUT          = _pMessageEntity.MSG_NOT_MODIFY_DATA_OUT;
                _pMSG_CANCLE_NEWREG_MODIFY         = _pMessageEntity.MSG_CANCLE_NEWREG_MODIFY;
                _pMSG_NO_SELETED_ITEM_OR_NO_SAVE   = _pMessageEntity.MSG_NO_SELETED_ITEM_OR_NO_SAVE;
                _pMSG_NO_INPUT_LAGER_THAN_NOTINQTY = _pMessageEntity.MSG_NO_INPUT_LAGER_THAN_NOTINQTY;
                _pMSG_REG_DATA                 = _pMessageEntity.MSG_REG_DATA;
                _pMSG_ADD_FAVORITE_ITEM        = _pMessageEntity.MSG_ADD_FAVORITE_ITEM;
                _pMSG_CHECK_SEARCH_DATE        = _pMessageEntity.MSG_CHECK_SEARCH_DATE;
                _pMSG_NOT_DISPLAY_ERROR        = _pMessageEntity.MSG_NOT_DISPLAY_ERROR;
                _pMSG_NO_EXIST_INPUT_DATA      = _pMessageEntity.MSG_NO_EXIST_INPUT_DATA;
                _pMSG_NOT_DISPLAY_NOT_SAVE     = _pMessageEntity.MSG_NOT_DISPLAY_NOT_SAVE;
                _pMSG_CHECK_VALID_ITEM         = _pMessageEntity.MSG_CHECK_VALID_ITEM;
                _pMSG_DELETE_FAVORITE_ITEM     = _pMessageEntity.MSG_DELETE_FAVORITE_ITEM;
                _pMSG_NOT_EXIST_PRINTING_EXCEL = _pMessageEntity.MSG_NOT_EXIST_PRINTING_EXCEL;
                _pMSG_SELECT_DOWNLOAD_TEMPLETE = _pMessageEntity.MSG_SELECT_DOWNLOAD_TEMPLETE;
                _pMSG_RESET_COMPLETE           = _pMessageEntity.MSG_RESET_COMPLETE;

                #endregion

                #region ○ 화면 설정 언어 & 명칭 변경. ==고정==

                DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

                if (dtLanguage != null && dtLanguage.Rows.Count > 0)
                {
                    CoFAS_ControlManager.Language_Info(dtLanguage, this);
                }


                DateTime pDateTime      = DateTime.Today;
                DateTime pFirstDateTime = pDateTime.AddDays(1 - pDateTime.Day);

                _luCONTRACT_DATE.FromDateTime = pFirstDateTime;
                _luCONTRACT_DATE.ToDateTime   = pDateTime;

                _pucShipmentRegisterInfoPopupEntity      = new ucShipmentRegisterInfoPopupEntity();
                _pucShipmentRegisterInfoPopupEntity.CRUD = "";
                //그리드 설정 ==고정==
                _gdMAIN_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));


                MainFind_DisplayData();                               //Dev Grid 데이터소스 로 바인딩 작업 처리 할 경우에는 최초 빈 데이터 테이블을 바인딩 해야 됨.
                _gdMAIN_VIEW.DoubleClick += _gdMAIN_VIEW_DoubleClick; //그리드 로우 마우스 선택으로 값 넘길경우 필수

                //그리드 설정 ==고정==

                #endregion
            }
            catch (ExceptionManager pExceptionManager)
            {
                CoFAS_DevExpressManager.ShowErrorMessage(string.Format("{0}\n{1}", pExceptionManager.Exception.Message.ToString(), pExceptionManager.TargetSite.ToString()));
            }
        }
        private void InitializeSetting()
        {
            //메인 화면 공통 메세지 처리           _아래애 MainForm지우기
            _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
            _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
            _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
            _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
            _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
            _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
            _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
            _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
            _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
            _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
            _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
            _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
            _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
            _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
            _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
            _pMSG_RESET_COMPLETE   = _pMessageEntity.MSG_RESET_COMPLETE;

            //메뉴 화면 엔티티 설정
            _pucPartDocumentListPopupEntity               = new ucPartDocumentListPopupEntity();
            _pucPartDocumentListPopupEntity.CORP_CODE     = _pCORP_CODE;
            _pucPartDocumentListPopupEntity.USER_CODE     = _pUSER_CODE;
            _pucPartDocumentListPopupEntity.LANGUAGE_TYPE = _pLANGUAGE_TYPE;

            //화면 설정 언어 & 명칭 변경. ==고정==
            DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

            if (dtLanguage != null && dtLanguage.Rows.Count > 0)
            {
                CoFAS_ControlManager.Language_Info(dtLanguage, this);
            }

            _luPART_CODE.Text        = ARRAY_CODE[0].ToString();
            _luPART_NAME.Text        = ARRAY_CODE[1].ToString();
            _luPART_REVISION_NO.Text = ARRAY_CODE[2].ToString();
            _luVEND_PART_CODE.Text   = ARRAY_CODE[3].ToString();
            _luCONTRACT_ID.Text      = ARRAY_CODE[4].ToString();
            _luCONTRACT_NUMBER.Text  = ARRAY_CODE[5].ToString();


            DateTime pDateTime      = DateTime.Today;
            DateTime pFirstDateTime = pDateTime.AddDays(1 - pDateTime.Day);

            //그리드 설정 ==고정==

            _gdMAIN_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));


            _gdSUB_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdSUB, _gdSUB_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdSUB.Name.ToString()));

            CoFAS_DevGridEventManager.OnViewDoubleClick += CoFAS_DevGridEventManager_OnViewDoubleClick;
            CoFAS_DevExpressManager._OnButtonPressed    += CoFAS_DevExpressManager__OnButtonPressed;

            _luDOCUMENT_TYPE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "DOCUMENT_TYPE", "", "", "").Tables[0], 0, 0, "", true);
            _luUSE_YN.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "USE_YN", "", "", "").Tables[0], 0, 1, "", true);
            _luDOCUMENT_USE_YN.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "USE_YN", "", "", "").Tables[0], 0, 1, "", true);

            MainFind_DisplayData(); //Dev Grid 데이터소스 로 바인딩 작업 처리 할 경우에는 최초 빈 데이터 테이블을 바인딩 해야 됨.

            SubFind_DisplayData();
        }
        private void InitializeSetting()
        {
            ////메인 화면 전역 변수 처리


            //메인 화면 공통 메세지 처리           _아래애 MainForm지우기
            _pMSG_SEARCH           = _pMessageEntity.MSG_SEARCH;
            _pMSG_SEARCH_EMPT      = _pMessageEntity.MSG_SEARCH_EMPT;
            _pMSG_SAVE_QUESTION    = _pMessageEntity.MSG_SAVE_QUESTION;
            _pMSG_SAVE             = _pMessageEntity.MSG_SAVE;
            _pMSG_SAVE_ERROR       = _pMessageEntity.MSG_SAVE_ERROR;
            _pMSG_DELETE_QUESTION  = _pMessageEntity.MSG_DELETE_QUESTION;
            _pMSG_DELETE           = _pMessageEntity.MSG_DELETE;
            _pMSG_DELETE_ERROR     = _pMessageEntity.MSG_DELETE_ERROR;
            _pMSG_DELETE_COMPLETE  = _pMessageEntity.MSG_DELETE_COMPLETE;
            _pMSG_INPUT_DATA       = _pMessageEntity.MSG_INPUT_DATA;
            _pMSG_INPUT_DATA_ERROR = _pMessageEntity.MSG_INPUT_DATA_ERROR;
            _pMSG_WORKING          = _pMessageEntity.MSG_WORKING;
            _pMSG_RESET_QUESTION   = _pMessageEntity.MSG_RESET_QUESTION;
            _pMSG_EXIT_QUESTION    = _pMessageEntity.MSG_EXIT_QUESTION;
            _pMSG_SELECT           = _pMessageEntity.MSG_SELECT;
            //추가
            _pMSG_PLZ_CONNECT_FTP           = _pMessageEntity.MSG_PLZ_CONNECT_FTP;
            _pMSG_AGAIN_INPUT_DATA          = _pMessageEntity.MSG_AGAIN_INPUT_DATA;
            _pMSG_DOWNLOAD_COMPLETE         = _pMessageEntity.MSG_DOWNLOAD_COMPLETE;
            _pMSG_SEARCH_EMPT_DETAIL        = _pMessageEntity.MSG_SEARCH_EMPT_DETAIL;
            _pMSG_SPLITQTY_LARGE_MORE       = _pMessageEntity.MSG_SPLITQTY_LARGE_MORE;
            _pMSG_DELETE_ERROR_NO_DATA      = _pMessageEntity.MSG_DELETE_ERROR_NO_DATA;
            _pMSG_ORDERQTY_LARGE_THAN_0     = _pMessageEntity.MSG_ORDERQTY_LARGE_THAN_0;
            _pMSG_PLAN_LARGE_THAN_ORDER     = _pMessageEntity.MSG_PLAN_LARGE_THAN_ORDER;
            _pMSG_DELETE_ERROR_CONNECT_FTP  = _pMessageEntity.MSG_DELETE_ERROR_CONNECT_FTP;
            _pMSG_INPUT_LESS_THAN_NOTOUTQTY = _pMessageEntity.MSG_INPUT_LESS_THAN_NOTOUTQTY;
            _pMSG_LOAD_DATA                    = _pMessageEntity.MSG_LOAD_DATA;
            _pMSG_NEW_REG_GUBN                 = _pMessageEntity.MSG_NEW_REG_GUBN;
            _pMSG_INPUT_NUMERIC                = _pMessageEntity.MSG_INPUT_NUMERIC;
            _pMSG_NO_SELETED_ITEM              = _pMessageEntity.MSG_NO_SELETED_ITEM;
            _pMSG_EXIST_COMPANY_ID             = _pMessageEntity.MSG_EXIST_COMPANY_ID;
            _pMSG_NOT_DELETE_DATA_IN           = _pMessageEntity.MSG_NOT_DELETE_DATA_IN;
            _pMSG_NOT_MODIFY_DATA_IN           = _pMessageEntity.MSG_NOT_MODIFY_DATA_IN;
            _pMSG_SELECT_NEWREG_SAVE           = _pMessageEntity.MSG_SELECT_NEWREG_SAVE;
            _pMSG_INPUT_LARGER_THAN_0          = _pMessageEntity.MSG_INPUT_LARGER_THAN_0;
            _pMSG_NOT_DELETE_DATA_OUT          = _pMessageEntity.MSG_NOT_DELETE_DATA_OUT;
            _pMSG_NOT_MODIFY_DATA_OUT          = _pMessageEntity.MSG_NOT_MODIFY_DATA_OUT;
            _pMSG_CANCLE_NEWREG_MODIFY         = _pMessageEntity.MSG_CANCLE_NEWREG_MODIFY;
            _pMSG_NO_SELETED_ITEM_OR_NO_SAVE   = _pMessageEntity.MSG_NO_SELETED_ITEM_OR_NO_SAVE;
            _pMSG_NO_INPUT_LAGER_THAN_NOTINQTY = _pMessageEntity.MSG_NO_INPUT_LAGER_THAN_NOTINQTY;
            _pMSG_REG_DATA                 = _pMessageEntity.MSG_REG_DATA;
            _pMSG_ADD_FAVORITE_ITEM        = _pMessageEntity.MSG_ADD_FAVORITE_ITEM;
            _pMSG_CHECK_SEARCH_DATE        = _pMessageEntity.MSG_CHECK_SEARCH_DATE;
            _pMSG_NOT_DISPLAY_ERROR        = _pMessageEntity.MSG_NOT_DISPLAY_ERROR;
            _pMSG_NO_EXIST_INPUT_DATA      = _pMessageEntity.MSG_NO_EXIST_INPUT_DATA;
            _pMSG_NOT_DISPLAY_NOT_SAVE     = _pMessageEntity.MSG_NOT_DISPLAY_NOT_SAVE;
            _pMSG_CHECK_VALID_ITEM         = _pMessageEntity.MSG_CHECK_VALID_ITEM;
            _pMSG_DELETE_FAVORITE_ITEM     = _pMessageEntity.MSG_DELETE_FAVORITE_ITEM;
            _pMSG_NOT_EXIST_PRINTING_EXCEL = _pMessageEntity.MSG_NOT_EXIST_PRINTING_EXCEL;
            _pMSG_SELECT_DOWNLOAD_TEMPLETE = _pMessageEntity.MSG_SELECT_DOWNLOAD_TEMPLETE;
            _pMSG_RESET_COMPLETE           = _pMessageEntity.MSG_RESET_COMPLETE;

            //화면 설정 언어 & 명칭 변경. ==고정==
            DataTable dtLanguage = new LanguageBusiness().Language_Info(_pWINDOW_NAME, _pLANGUAGE_TYPE);

            if (dtLanguage != null && dtLanguage.Rows.Count > 0)
            {
                CoFAS_ControlManager.Language_Info(dtLanguage, this);
            }

            DateTime pDateTime      = DateTime.Today;
            DateTime pFirstDateTime = pDateTime.AddDays(1 - pDateTime.Day);

            // _luTORDER_DATE.FromDateTime = pFirstDateTime;
            // _luTORDER_DATE.ToDateTime = DateTime.Now;
            //_luORDER_DATE1.DateTime = pFirstDateTime; //from
            //_luORDER_DATE2.DateTime = DateTime.Now; //to
            _pucProductStockInfoPopupEntity = new ucProductStockInfoPopupEntity();
            //그리드 설정 ==고정==

            _gdMAIN_VIEW = CoFAS_DevExpressManager.Grid_Setting(_gdMAIN, _gdMAIN_VIEW, fntPARENT_FONT, _pLANGUAGE_TYPE, new DevGridSettingBusiness().DevGrid_Info(_pLANGUAGE_TYPE, _pWINDOW_NAME, _gdMAIN.Name.ToString()));

            _pCRUD = "";
            //_gdMAIN_VIEW.CellValueChanging += _gdMAIN_VIEW_CellValueChanging;
            _gdMAIN_VIEW.CellValueChanged += _gdMAIN_VIEW_CellValueChanged;
            _gdMAIN_VIEW.RowCellClick     += _gdMAIN_VIEW_RowCellClick;
            _luINOUT_CODE.AddValue(new CommonCodeReturnBusiness().CommonCode_Return("R", _pLANGUAGE_TYPE, "COMMON_CODE", "MR05", "", "").Tables[0], 0, 0, "");

            _luINOUT_CODE.ItemIndex = 0;
            //MainFind_DisplayData(); //Dev Grid 데이터소스 로 바인딩 작업 처리 할 경우에는 최초 빈 데이터 테이블을 바인딩 해야 됨.

            //_gdMAIN_VIEW.DoubleClick += _gdMAIN_VIEW_DoubleClick; //그리드 로우 마우스 선택으로 값 넘길경우 필수

            //그리드 설정 ==고정==
        }