using System; using System.Text; using System.Collections; using System.Windows.Forms; using System.Drawing; using System.IO; /*-----------------------------------------------------------------------------------------------*/ // 설 명 : 폼(화면) 관리 // 작 성 자 : // 변경 이력 : /*-----------------------------------------------------------------------------------------------*/ namespace Cosmos.CommonManager { /// /// /// public class FormManager { /// /// 프로그램 시작(프로그램/마스터 다운로드) /// public const string FORM_PROGRAM_START = "SD0000"; /// /// POS MAIN /// public const string FORM_POS_MAIN = "SC0000"; /// /// 메뉴(메인) /// public const string FORM_MENU_MAIN = "SC0101"; /// /// 메뉴(팝업) /// public const string FORM_MENU_SUB = "SC0102"; /// /// 메인 화면 업무 기능 통합 /// public const string FORM_BIZ_MAIN = "SC0103"; //#13753 POS MOT음성 기능 추가 개발요청 start,phj /// /// 음성MOT 설정 화면 /// public const string FORM_SOUND_MOT_SETTING = "SC0296"; //#13753 POS MOT음성 기능 추가 개발요청 end,phj /// /// LOG ON /// public const string FORM_LOG_ON = "SC9100"; /// /// LOG OFF /// public const string FORM_LOG_OFF = "SC9101"; /// /// 판매등록(테이블) /// public const string FORM_TBL_REG = "SC1000"; /// /// 층관리 /// public const string FORM_FLOOR_MGR = "SC1001"; /// /// 테이블관리 /// public const string FORM_TABLE_MGR = "SC1002"; /// /// 테이블 이동 /// public const string FORM_TBL_MOVE = "SC1003"; /// /// 테이블 분리 /// public const string FORM_TBL_SPR = "SC1004"; /// /// 테이블 예약 /// public const string FORM_TBL_RESERVATION = "SC1005"; /// /// 공지사항등록 /// public const string FORM_TBL_NOTICE = "SC1006"; /// /// 판매(테이블) /// public const string FORM_TBL_SALE = "SC1007"; /// /// 관리메뉴 /// public const string FORM_TBL_MNG = "SC1008"; /// /// 테이블 영업메뉴 /// public const string FORM_TBL_SAL_MENU = "SC1009"; /// /// 연령선택 /// public const string FORM_SAL_AGE = "SC1010"; /// /// 테이블 예약 등록 /// public const string FORM_TBL_RESERVATION_REG = "SC1011"; /// /// 판매등록(등록전) /// public const string FORM_SAL_MAIN = "SC1100"; /// /// 반품 /// public const string FORM_SAL_RETRUN = "SC1101"; /// /// 영수증 반품 /// public const string FORM_SAL_RETURN_RECEIPT = "SC1102"; /// /// 재발행 /// public const string FORM_SAL_RE_PRINT = "SC1103"; /// /// 영수증재발행 /// public const string FORM_SAL_RECEIPT_REPRINT = "SC1104"; /// /// 현금영수증 재발행 /// public const string FORM_SAL_CASH_APPROVAL_LATER = "SC1105"; /// /// 해피포인트 추후 적립 /// public const string FORM_SAL_HPP_APPROVAL_LATER = "SC1106"; /// /// 예약 /// public const string FORM_SAL_RESERVATION_MENU = "SC1107"; /// /// 예약등록 /// public const string FORM_SAL_RESERVATION_REG = "SC1108"; /// /// 예약완료 /// public const string FORM_SAL_RESERVATION_FNS = "SC1109"; /// /// 충전/판매 /// public const string FORM_SAL_CHARGE = "SC1110"; /// /// 선불카드판매 /// public const string FORM_SAL_PREPAID_CARD = "SC1111"; /// /// 상품권 판매 /// public const string FORM_SAL_GIFT = "SC1112"; /// /// 해피기프트 충전 /// public const string FORM_SAL_HP_GIFT_CHARGED = "SC1113"; /// /// 보류 /// public const string FORM_SAL_HOLD = "SC1114"; /// /// 판매LOSS /// public const string FORM_SAL_LOSS = "SC1115"; /// /// 선불고객등록 /// public const string FORM_SAL_PREPAID_CUST = "SC1116"; /// /// 영수증 반품(결제수단) /// public const string FORM_SAL_RETURN_RECEIPT_PAY = "SC1117"; /// /// 해피포인트 추후 적립(카드 입력 처리) /// public const string FORM_POINT_HAPPYPOINT_AFTER = "SC1118"; ///// ///// 판매원 등록 ///// //public const string FORM_CASHIER_INPUT = "SC1119"; /// /// 판매등록(등록후) /// public const string FORM_SAL_BEFORE = "SC1200"; /// /// 할인 /// public const string FORM_SAL_DC = "SC1201"; /// /// 기타 /// public const string FORM_SAL_ETC = "SC1202"; /// /// 메모 /// public const string FORM_SAL_MEMO = "SC1203"; /// /// 부가메뉴 /// public const string FORM_SAL_ADD_MENU = "SC1204"; /// /// 해피오더 /// public const string FORM_SAL_HPORD = "SC1205"; /// /// 플레이버 /// public const string FORM_SAL_PLV = "SC1206"; /// /// 묶음상품 /// public const string FORM_SAL_BUNDLE_ITEM = "SC1207"; /// /// Take In/out /// public const string FORM_SAL_TAKE_IN_OUT = "SC1208"; /// /// 고객클레임 조회 화면 /// public const string FORM_SAL_CUSTOMER_CLAIMS_LIST = "SC1209"; /// /// 긴급공지 /// public const string FORM_SAL_EMERGENCY_NOTICE = "SC1210"; /// /// 외국인응대 /// public const string FORM_SAL_FOREIGNERS_RESPONSE = "SC1211"; /// /// 더치페이 /// public const string FORM_SAL_DUTCH_PAY = "SC1212"; /// /// 제품검색 /// public const string FORM_SAL_ITEM_SEARCH = "SC1213"; /// /// 점주/알바 모드 /// public const string FORM_SAL_ADMIN = "SC1214"; /// /// 메인화면 상단 기타 업무 /// public const string FORM_SAL_TOP_ETC = "SC1215"; /// /// WEB업무 /// public const string FORM_WEB_LINK = "SC1216"; /// /// 계산기 /// public const string FORM_SAL_CAL = "SC1217"; /// /// 고객클레임 등록/수정 화면 /// public const string FORM_SAL_CUSTOMER_CLAIMS_INPUT = "SC1218"; /// /// 더치페이(금액) /// public const string FORM_SAL_DUTCH_PAY_AMT = "SC1219"; /// /// 해피오더 POP-UP /// public const string FORM_SAL_HPORD_POPUP = "SC1220"; /// /// 해피오더 바코드 등록 화면 /// public const string FORM_SAL_HPORD_BARCODE_REG = "SC1221"; /// /// 세트메뉴 상품 변경 등록 화면 /// public const string FORM_SET_MENU_CHANGE = "SC1222"; /// /// 해피오더 중량 출력 화면 /// public const string FORM_SAL_HPORD_WEIGHT_PRINT = "SC1223"; /// /// 기념일배송 주문정보 출력 /// public const string FORM_REMB_ORDER_PRINT = "SC1224"; //#15746 해피오더 '쇼킹박스' 관련 POS 시스템 개발 요청 start /// /// 해피오더 랜덤박스 바코드 등록 화면 /// public const string FORM_SAL_HPORD_BARCODE = "SC1225"; //#15746 해피오더 '쇼킹박스' 관련 POS 시스템 개발 요청 end //#16401 해피오더)주문내역 바코드 리딩 시 자동 완료처리 start /// /// 해피오더 주문 자동 처리 안내팝업 화면 /// public const string FORM_SAL_HPORD_MSG = "SC1226"; //#16401 해피오더)주문내역 바코드 리딩 시 자동 완료처리 end /// /// 결제 메인 /// public const string FORM_PAY_MAIN = "SC1300"; /// /// 할인수단 /// public const string FORM_PAY_DC = "SC1500"; /// /// 해피포인트 적립 /// public const string FORM_PAY_POINT_HAPPY_POINT = "SC1401"; /// /// 제휴 멤버쉽 사용 OCB / OILBANK / BLUE / RED /// public const string FORM_PAY_POINT_MEMBERS_USE = "SC1404"; /// /// OCB 적립 /// public const string FORM_PAY_POINT_OCB_SAVE = "SC1405"; /// /// 제휴카드(SKT,KT,LGT) 할인 /// public const string FORM_PAY_POINT_MOBILE_COM = "SC1501"; /// /// 결제 기타 할인 /// public const string FORM_PAY_DC_ETC = "SC1502"; /// /// 해피쿠폰할인 /// public const string FORM_PAY_POINT_HPCOUPON = "SC1503"; /// /// SPC임직원할인 /// public const string FORM_PAY_DC_EMP = "SC1504"; /// /// SPC임직원할인-중국 /// public const string FORM_PAY_DC_EMP_CHINA = "SC1511"; /// /// 케익교환권 /// public const string FORM_PAY_DC_CAKE_VOUCHERS = "SC1505"; /// /// 쿠폰할인 /// public const string FORM_PAY_DC_COUPON = "SC1506"; /// /// 전체할인 /// public const string FORM_PAY_DC_TOTAL = "SC1507"; ///// ///// 전체%할인 ///// //public const string FORM_PAY_DC_TOTAL_RATE = "SC1508"; /// /// 입점매장직원할인 /// public const string FORM_INSTOR_DC = "SC1509"; /// /// 세브란스병원 임직원 할인 /// public const string FORM_SEVERANCE_DC = "SC1510"; /// /// 제휴카드(SKT,KT,LGT,OILBANK,BLUE,RED) 통합할인(2017.08.29) -- START /// public const string FORM_PAY_POINT_MOBILE_UNITY = "SC1512"; /// /// 결제수단 /// public const string FORM_PAY_ETC_MENU = "SC1600"; /// /// 현금결제 /// public const string FORM_PAY_CASH = "SC1601"; /// /// 수표 /// public const string FORM_PAY_CHECK = "SC1602"; /// /// 신용카드 /// public const string FORM_PAY_CREDITCARD = "SC1603"; /// /// 기타결제 /// public const string FORM_PAY_ETC = "SC1604"; /// /// 해피포인트 사용 /// public const string FORM_PAY_POINT_HAPPY_POINT_USE = "SC1605"; /// /// 온라인 쿠폰 /// public const string FORM_PAY_ONLINE_COUPON = "SC1606"; /// /// 상품권 /// public const string FORM_PAY_GIFT = "SC1607"; /// /// 알리페이 /// public const string FORM_PAY_ALIPAY = "SC1608"; /// /// 식권 /// public const string FORM_PAY_MEAL_TICKET = "SC1609"; /// /// 매장쿠폰 /// public const string FORM_PAY_STORE_COUPON = "SC1610"; /// /// 잔액교환권 /// public const string FORM_PAY_BALANCE_VOUCHER = "SC1611"; /// /// 모바일 쿠폰 /// public const string FORM_PAY_MOBILE_COUPON = "SC1612"; /// /// SPC 임직원 결제 /// public const string FORM_PAY_EMP = "SC1613"; /// /// 외상 /// public const string FORM_PAY_CREDIT_CUSTOMER = "SC1614"; /// /// 외화 /// public const string FORM_PAY_FOREIGN_CURRENCY = "SC1615"; /// /// 예약 /// public const string FORM_PAY_RESERVATION = "SC1616"; /// /// T-MONEY /// public const string FORM_PAY_TMONEY = "SC1617"; /// /// 선불카드(해피조이) /// public const string FORM_PAY_HPJOY = "SC1618"; /// /// 캐시비 /// public const string FORM_PAY_CASHBEE = "SC1619"; /// /// 선불카드 /// public const string FORM_PAY_PREPAID_CARDS = "SC1620"; /// /// 해피기프트 /// public const string FORM_PAY_HAPPY_GIFTCARD = "SC1621"; /// /// Service Charge /// public const string FORM_PAY_SERVICE_CHARGE = "SC1622"; /// /// 현금영수증 /// public const string FORM_PAY_CASH_APPROVAL = "SC1623"; /// /// 신용카드(이동단말기) /// public const string FORM_PAY_PDA = "SC1624"; /// /// 아워홈 /// public const string FORM_PAY_LG = "SC1625"; /// /// 삼성카드 제휴할인 SFC /// public const string FORM_SAMSUNG_SFC = "SC1626"; ///// ///// 해피쿠폰(인카드쿠폰조회) ///// //public const string FORM_PAY_POINT_HPCOUPON_LIST = "SC1627"; /// /// 대상 상품 선택 /// public const string FORM_SEL_SALE_PLU = "SC1628"; /// /// 카드 번호 받기(공통) /// public const string FORM_INPUT_CARD = "SC1629"; /// /// 삼성카드 포인트 /// public const string FORM_SAMSUNG_POINT = "SC1630"; /// /// 상품권 승인 /// public const string FORM_PAY_GIFT_APP = "SC1631"; ///// ///// 해피포인트 조회 ///// //public const string FORM_HAPPY_POINT_SEARCH = "SC1632"; /// /// 고객조회 팝업 /// public const string FORM_PAY_CUST_SEARCH = "SC1633"; /// /// 모바일 쿠폰-차세대 해피콘 /// public const string FORM_PAY_MOBILE_COUPON_HAPPYCON = "SC1634"; /// /// 세브란스병원 임직원 결제 /// public const string FORM_PAY_SEVERANCE = "SC1635"; /// /// 아워홈 /// public const string FORM_PAY_OURHOME = "SC1636"; /// /// 점포결제유형 /// public const string FORM_SHOP_PAY_TYPE = "SC1637"; /// /// 신용카드(임의등록) /// public const string FORM_MANUAL_APPR = "SC1638"; /// /// 매입처 조회 팝업 /// public const string FORM_VENDER_SEARCH = "SC1639"; /// /// 모바일 쿠폰-차세대 해피콘 로그 /// public const string FORM_PAY_MOBILE_COUPON_HAPPYCON_LOG = "SC1640"; /// /// 해피포인트 적립 - 중국 /// public const string FORM_PAY_POINT_HAPPY_POINT_SAVE_CHINA = "SC1641"; /// /// 해피포인트 사용 - 중국 /// public const string FORM_PAY_POINT_HAPPY_POINT_USE_CHINA = "SC1642"; /// /// 해피머니상품권 도움말 /// public const string FORM_PAY_HAPPY_GIF_HELP = "SC1643"; /// /// 스마일페이 /// public const string FORM_PAY_SMILEPAY = "SC1644"; /// /// T페이 /// public const string FORM_PAY_TPAY= "SC1645"; /// /// T페이 고객목록 /// public const string FORM_PAY_TPAY_CONNECT_LIST = "SC1646"; /// /// 선택 박스 /// public const string FORM_CHOICE_BOX = "SC1647"; /// /// 상품권 조회 /// public const string FORM_GIFT_SCH = "SC1648"; /// /// 모바일쿠폰 조회 /// public const string FORM_MOBILE_COUPON_SCH = "SC1649"; /// /// 우리모아 포인트 /// public const string FORM_WOORIMORE_POINT = "SC1650"; /// /// 현대M 포인트 /// public const string FORM_HYUNDAI_M_POINT = "SC1651"; /// /// 신용카드 (MSR) /// public const string FORM_PAY_MSR_CARD = "SC1652"; /// /// 선불카드 판매 - 중국 /// public const string FORM_SALE_PRECARD = "SC1653"; /// /// 위챗페이 /// public const string FORM_PAY_WECHATPAY = "SC1654"; /// /// 고객조회 팝업2 /// public const string FORM_PAY_CUST_BROWSE = "SC1655"; /// /// X-CHARGE 금액 입력 /// public const string FORM_PAY_XCHARGE_INPUT = "SC1656"; /// /// X-CHARGE 승인 /// public const string FORM_PAY_XCHARGE_APPR = "SC1657"; /// /// 베트남 신용카드(VIP POINT) - 프리픽스 캠페인 적용 /// public const string FORM_PAY_VIP_POINT = "SC1658"; /// /// 생일 초 계산 /// public const string FORM_BRITHDAY_CANDLE = "SC1659"; /// /// 선택 아이템 할인 /// public const string FORM_MULTI_DCITEM = "SC1660"; //#20170731, 해피기프트카드(코나머니) 개발 Start, srlee /// /// 해피기프트카드(코나머니) /// public const string FORM_HPGIFTCARD = "SC1661"; //#20170731, 해피기프트카드(코나머니) 개발 End, srlee //#20170911.001, 중국 위쳇 페이, 샤오청쉬 기프트 카드 바이롱과 연동 개발 Start, girak.kim /// /// 위챗페이 Bai Rong 과 연동 /// public const string FORM_PAY_WECHATPAY_BAIRONG = "SC1662"; /// /// 샤오청쉬(미니앱) Bai Rong 과 연동 /// public const string FORM_PAY_XIAOCHENGXU_GIFTCARD= "SC1663"; //#20170911.001, 중국 위쳇 페이, 샤오청쉬 기프트 카드 바이롱과 연동 개발 End, girak.kim #region 신한카드 포인트 결제을 위한 폼 추가 /// /// 신한카드 포인트 /// public const string FORM_SINHANCARD_POINT = "SC1664"; #endregion //#20180413 웰컴카드 신규기능 추가 start,phj /// /// 웰컴카드 발급화면 /// public const string FORM_WELCOMECARD_ISSUE = "SC1665"; //#20180413 웰컴카드 신규기능 추가 end,phj /// /// 개점 /// public const string FORM_SOD_SALE = "SC2000"; /// /// 판매 준비 점검 /// public const string FORM_SOD_CHECK = "SC2100"; /// /// 준비 점검 공지 사항 /// public const string FORM_SOD_REDAY = "SC2101"; /// /// 유통기한 점검 체크리스트 /// public const string FORM_EXPIRATION_DATE_CHECK = "SC2102"; /// /// 식품안전의 날 /// public const string FORM_FOOD_SAFETY_DAY = "SC2103"; /// /// 식품안전의 날 /// public const string FORM_FOOD_SAFETY_DAY_POPUP = "SC2104"; /// /// 일일점검리스트(PCKR) /// public const string FORM_STORE_EQUIP_CHECK_LIST = "SC2105"; /// /// 일일점검리스트상세(PCKR) /// public const string FORM_STORE_EQUIP_CHECK = "SC2106"; /// /// 기타결제 /// public const string FORM_INSTOR_PAY = "SC2107"; /// /// 입출금 /// public const string FORM_ACC_INOUT = "SC3000"; /// /// 준비금 /// public const string FORM_ACC_REMONEY = "SC3100"; /// /// 기타 입출금 /// public const string FORM_ACC_ETC_INOUT = "SC3200"; /// /// 중간입금/마감입금 /// public const string FORM_ACC_SALE_END = "SC3300"; /// /// 중간입금/마감입금 취소 /// public const string FORM_ACC_SALE_END_CAN = "SC3400"; /// /// 마감 메인 화면 /// public const string FORM_ACC_MAIN = "SC4000"; /// /// 조회 메인 화면 /// public const string FORM_SCH_MAIN = "SC5000"; /// /// 매출자료조회 /// public const string FORM_SCH_SALE_DATA = "SC5100"; /// /// 자료조회 /// public const string FORM_SCH_DATA = "SC5101"; /// /// 쇼핑몰 주문 정보 출력 /// public const string FORM_SCH_SMINFO = "SC5102"; /// /// 해피포인트 추후 적립 조회 /// public const string FORM_SCH_HPLATE = "SC5103"; /// /// 출하/예정 내역 조회 /// public const string FORM_SCH_SHIPEMNT = "SC5104"; /// /// 담당자별 매출 자료 조회 /// public const string FORM_SCH_SALE_EMP = "SC5105"; /// /// 행사 주문 취합 내역 조회 /// public const string FORM_SCH_EVT = "SC5106"; /// /// 배송지시서 출력 /// public const string FORM_SCH_DVL_PRT = "SC5107"; /// /// 본사 반품 내역 조회 /// public const string FORM_SCH_RETURN_COMPAY = "SC5108"; /// /// 알리페이 인위 개입 내역 조회 /// public const string FORM_SCH_ALIPAY = "SC5109"; /// /// 교통카드 내역 조회 /// public const string FORM_TMONEY_SEARCH = "SC5110"; /// /// 해피포인트 단골매장등록 /// public const string FORM_HPP_REGULAR_CUST = "SC5111"; /// /// 매출 자료 수신 /// public const string FORM_TRANLOG_DOWNLOAD = "SC5112"; /// /// PGM 다운로드 /// public const string FORM_PGM_DOWNLOAD = "SC5113"; /// /// 주방주문내역조회 /// public const string FORM_SCH_KTCH_ORDER = "SC5114"; /// /// 백신실행 /// public const string FORM_EXE_VACCINE = "SC5115"; /// /// 서명패드 업데이트 /// public const string FORM_SIGNPAD_UPDATE = "SC5116"; /// /// POS LOG 조회 /// public const string FORM_SCH_POS_LOG = "SC5117"; /// /// 준비점검 공지사항 /// public const string FORM_SCH_PREP_STOR_NOTICE = "SC5118"; /// /// 매출 재전송 /// public const string FORM_TRAN_RESEND = "SC5119"; /// /// 도로공사 매출 재전송 /// public const string FORM_EX_RESEND = "SC5120"; //#20171016 IC리더기 펌웨어 업데이트 Start, srlee /// /// IC리더기 업데이트_NEW /// public const string FORM_ICREADER_UPDATE = "SC5121"; //#20171016 IC리더기 펌웨어 업데이트 End, srlee /// /// 관리 메인 화면 /// public const string FORM_MNG_MAIN = "SC6000"; /// /// 다운로드 /// public const string FORM_MNG_DOWNLOAD = "SC6100"; /// /// Check of kitchen Printer /// public const string FORM_MNG_CKP = "SC6001"; /// /// 설정 메인 화면 /// public const string FORM_OPT_MAIN = "SC7000"; /// /// 기타 메인 화면 /// public const string FORM_ETC_MAIN = "SC8000"; /// /// 간이영수증 /// public const string FORM_ETC_RECEIPT = "SC8100"; /// /// 직원방문등록 /// public const string FORM_ETC_INEMP = "SC8101"; /// /// 출/퇴근등록 /// public const string FORM_ETC_CHECK_EMP = "SC8102"; /// /// 환율등록 /// public const string FORM_ETC_EXCHANGE_REG = "SC8103"; /// /// PVC 상자 재고 /// public const string FORM_ETC_PVC = "SC8104"; /// /// 시험모드 리스트 /// public const string FORM_TEST_MODE_LIST = "SC8105"; /// /// 시험모드 진행화면 /// public const string FORM_TEST_MODE = "SC8106"; /// /// 캠페인 정보 조회 /// public const string FORM_CAMPAIGN_INFO = "SC8107"; /// /// 시험 결과조회 /// public const string FORM_TEST_MODE_SEARCH = "SC8108"; /// /// 시험 상품교육 /// public const string FORM_TEST_EDU_PLU = "SC8109"; /// /// 시험 상품조회 /// public const string FORM_TEST_PLU_SEARCH = "SC8110"; /// /// 공지사항 조회 /// public const string FORM_NOTICE_SEARCH = "SC8111"; /// /// 달력 조회 /// public const string FORM_CALENDAR = "SC8112"; /// /// 선택 버튼 팝업 /// public const string FORM_ETC_SELECT_BTN = "SC8113"; ///// ///// Server(담당자) 등록 ///// //public const string FORM_ETC_SERVER_REG = "SC9001"; /// /// 매장 공지사항 등록 /// public const string FORM_ETC_STORE_NOTICE_REG = "SC9002"; /// /// 메뉴 이동 /// public const string FORM_ETC_TABLE_ITEM_MOVE = "SC9003"; /// /// 좌석메모/상품메모 /// public const string FORM_ETC_TABLE_MEMO = "SC9004"; /// /// 예약관리 /// public const string FORM_ETC_RESERV_MAIN = "SC9005"; /// /// 예약등록 /// public const string FORM_ETC_RESERV_REG = "SC9006"; /// /// 사유코드 입력 팝업 /// public const string FORM_REASON_CODE = "SC9007"; /// /// 좌석메모목록 /// public const string FORM_ETC_TABLE_MEMO_LIST = "SC9008"; /// /// 주방프린터 수동 출력 (장치선택, OPT425 = "1") /// public const string FORM_MENUAL_ORDER_KPS = "SC9009"; /// /// 주방프린터 수동 출력 (장치선택, OPT425 = "2") /// public const string FORM_MENUAL_ORDER_ITEM = "SC9010"; /// /// 온라인 쿠폰 조회 /// public const string FORM_PAY_ONLINE_COUPON_SCH = "SC9011"; /// /// 주방프린터 상태 체크 /// public const string FORM_KPS_CHECK = "SC9012"; /// /// 해피포인트 적립 안내 메시지 /// public const string FORM_HP_SAVE_COMPLETE_MSG = "SC9013"; //#20180611 해피오더 주문취소 사유 start /// /// 해피오더 주문취소 사유 /// public const string FORM_HPORD_REASON_CODE = "SC9014"; //#20180611 해피오더 주문취소 사유 end /// /// 고객화면 /// public const string FORM_ETC_CUSTOMER_DISPLAY = "SC9500"; /// /// 사용자 입력 화면 /// public const string FORM_USER_INPUT_DATA = "SC9901"; /// /// 거래처 조회 팝업창 /// public const string FORM_SCH_VENDOR = "SC9902"; /// /// 영업공지사항 /// public const string FORM_BUSI_NOTICE = "SC9903"; /// /// 영업공지사항 /// public const string FORM_CERTIFY_INTEGRITY = "SC9904"; /// /// 카운다운 메세지 /// public const string FORM_COUNT_DOWN_MSG = "SC9905"; /// /// 마스터 백업 /// public const string FORM_MASTER_BACKUP = "SC9906"; /// /// 무결성 쓰레드 /// public const string FORM_CERTIFY_INTEGRITY_THREAD = "SC9907"; /// /// 주변장치 상태 조회 /// public const string FORM_DEVICE_STATUS_SEARCH = "SC9908"; /// /// 해피 버즈 /// public const string FORM_HAPPY_BUZZ = "SC9909"; /// /// 할인내역 리스트 /// public const string FORM_DISCOUNT_LIST = "SC9910"; /// /// BR팝업 업무 /// public const string FORM_POPUP_COM = "SC9911"; /// /// 시작 프로그램 다운로드 /// public const string FORM_START_PGMUPDATE = "SC9912"; /// /// 결락 조회 /// public const string FORM_MISSTRAN_CHECK = "SC9913"; /// /// 판매상품 리스트 /// public const string FORM_SALEPLU_LIST = "SC9914"; //20171013 dkshin 해피기프트(신) IC/RF 충전 및 승인 /// /// 해피기프트(신) 충전 /// public const string FORM_SAL_HP_GIFT_NEW_CHARGED = "SC9915"; //#20171227 인천공항 포스연동 start, phj /// /// 인천공항 통합POS 폼 /// public const string FORM_INCHEONAIRPORT = "SC9916"; //#20171227 인천공항 포스연동 end, phj //grayber@20180208 미사용 기능 주석 처리 //// grayber@20180115 인천공항 VIP 라운지 start - 폼 추가 ///// ///// 인천공항 VIP 라운지 폼 ///// //public const string FORM_AIRPORT_VIP_LOUNGE = "SC9917"; //// grayber@20180115 인천공항 VIP 라운지 end //grayber@20180208 미사용 기능 주석 처리 //grayber@20180208 코레일 마일리지 입력 start - 폼 추가 /// /// 코레일 마일리지 폼 /// public const string FORM_KORAIL_MILEAGE = "SC9918"; //grayber@20180208 코레일 마일리지 입력 end /// /// 미구 해피포인트 폼 /// public const string FORM_PAY_POINT_HAPPY_POINT_PCUS = "SC9919";//2018.02.26, girak.kim //#20180418 고객 구매이력 정보 표시 및 해피쿠폰 발송 start /// /// 쿠폰 발송 폼 /// public const string FORM_CPN_SEND = "SC9920"; //#20180418 고객 구매이력 정보 표시 및 해피쿠폰 발송 end //#15525 고객구매이력 수정 요청 start, 20180704 /// /// vip 표시 /// public const string FORM_VIP = "SC9921"; //#15525 고객구매이력 수정 요청 end, 20180704 //#16232 환경부 1회용컵 사용줄이기 관련 테이크인아웃 설정 start /// /// 제조음료 Take In/out /// public const string FORM_SAL_TAKE_IN_OUT_PROD = "SC9922"; //#16232 환경부 1회용컵 사용줄이기 관련 테이크인아웃 설정 end //#16577 결제창 내부 봉투 추가 기능 도입 start /// /// 제조음료 Take In/out /// public const string FORM_ADD_BAG = "SC9923"; //#16577 결제창 내부 봉투 추가 기능 도입 end /// /// 결제 배경용 /// public const string FORM_PAY_BACKGROUND = "PB9999"; // 추후 체크 _pss /// /// 점착정보(배송정보) /// public const string FORM_WEB_STOR_ARRV_INFO = "WL1000"; /// /// 점착정보(배송추적) /// public const string FORM_WEB_STOR_ARRV_DETAIL = "WL1001"; /// /// 온도정보 /// public const string FORM_WEB_TMPRT = "WL1002"; /// /// 쇼핑몰(WEB) /// public const string FORM_WEB_SHOPPING_MALL = "WL1003"; /// /// 주문공지(WEB) /// public const string FORM_WEB_ORDER_LIST = "WL1004"; /// /// 이지웰(WEB) /// public const string FORM_WEB_EZWELW = "WL1005"; /// /// 해피오더 점주(WEB) /// public const string FORM_WEB_HAPPY_ORDER = "WL1006"; /// /// 빚은몰(WEB) /// public const string FORM_WEB_BIZEUN = "WL1007"; /// /// 긴급공지 /// public const string FORM_WEB_EMGNCY_LIST = "WL1008"; /// /// 세브란스 /// public const string FORM_WEB_SEVERANCE = "WL1009"; /// /// 제조메뉴얼 /// public const string FORM_WEB_MAKE_MENUAL = "WL1010"; /// /// 이달의행사 /// public const string FORM_WEB_MONTH_EVENT = "WL1011"; /// /// 상품키관리 /// public const string FORM_WEB_POS_PLU_MGR = "WL1012"; /// /// 판매POS환경설정 /// public const string FORM_WEB_POS_SETTING = "WL1013"; /// /// 판매POS옵션설정 /// public const string FORM_WEB_POS_OPTION = "WL1014"; /// /// 플레이버관리 /// public const string FORM_WEB_POS_REG_FLOVOR = "WL1015"; /// /// 매장테이블관리 /// public const string FORM_WEB_POS_TABLE_MANAGEMENT = "WL1016"; /// /// 승인내역조회 /// public const string FORM_WEB_SCH_APPROVAL = "WL1017"; /// /// BGM 관리 사이트 /// public const string FORM_WEB_MGR_BGM = "WL1018"; /// /// 기타설정 /// public const string FORM_ETC_POS_SETTING = "SC1120"; /// /// 바코드출력 /// public const string FORM_BARCODE_PRINT = "SC1121"; /// /// WEB_BIZ /// public const string FORM_WEB_POS_BIZ = "WL1019"; /// /// WEB_POS /// public const string FORM_WEB_POS = "WL1020"; /// /// Form Manager /// private static Hashtable g_htFormManager; /// /// Form Parameter /// public static object g_oFormParameter; /// /// 숨김폼 인덱스 번호(0:메인, 1:판매, 2:테이블) /// public static int m_HideFormIndex = 0; static FormManager() { g_htFormManager = new Hashtable(); } /// /// Clear FORM(폼초기화) /// public static void ClearForm() { try { g_htFormManager = new Hashtable(); } catch { } } /// /// Add FORM (폼추가) /// /// /// /// public static bool AddForm(string pKey, Object pForm) { try { if (g_htFormManager.Contains(pKey) == false) { g_htFormManager.Add(pKey, pForm); return true; } else { g_htFormManager.Remove(pKey); g_htFormManager.Add(pKey, pForm); return true; } } catch { } return false; } #region MovePopUpForm 주석 /// /// FORM 이동 /// /// /// /// /// public static bool MovePopUpForm(Object pForm, bool bPayFrom, long nScrSize) { try { if (nScrSize == 0) { nScrSize = 1024; for (int i = 0; i < Screen.AllScreens.Length; i++) { if (Screen.AllScreens[i].Primary == true) // 캐셔화면 { nScrSize = (Screen.AllScreens[i].WorkingArea.Width == 800) ? 800 : 1024; } } } Form cForm = (Form)pForm; if (nScrSize == 800) { if (bPayFrom == true) // 결제화면 고정 cForm.Location = new Point(216, 173); else if (cForm.Width <= 800 && cForm.Height <= 544) cForm.Location = new Point((800 - cForm.Width) / 2, 50 + ((544 - cForm.Height) / 2)); else cForm.Location = new Point(0, 0); } else { if (bPayFrom == true) // 결제화면 고정 cForm.Location = new Point(216, 173); else if (cForm.Width <= 1024 && cForm.Height <= 696) cForm.Location = new Point((1024 - cForm.Width) / 2, 50 + ((696 - cForm.Height) / 2)); else cForm.Location = new Point(0, 0); } } catch { } return false; } #endregion /// /// Get FORM (폼 얻음) /// /// /// public static Object GetForm(string pKey) { try { if (g_htFormManager.Contains(pKey) == true) { g_oFormParameter = null; return (object)g_htFormManager[pKey]; } } catch { } return null; } /// /// Show FORM(폼 표시) /// /// /// public static DialogResult ShowForm(string pKey) { try { g_oFormParameter = null; return ShowForm(pKey, null); } catch { } return DialogResult.Ignore; } /// /// Show FORM(폼표시) /// /// /// /// public static DialogResult ShowForm(string pKey, object pParameter) { try { if (g_htFormManager.Contains(pKey) == true) { g_oFormParameter = pParameter; System.Windows.Forms.Form fShowForm = (System.Windows.Forms.Form)g_htFormManager[pKey]; // FormDisplayTricker 사용을 위한 수정(CHOCY-20160701) return fShowForm.ShowDialog(); //fShowForm.Opacity = 0.99999999; //var activeForm = Form.ActiveForm; //FormDisplayTricker.SetLayer(null); //fShowForm.TopMost = false; //return fShowForm.ShowDialog(activeForm); } } catch(Exception ex) { } return DialogResult.Ignore; } /// /// Form에 올려진 모든 Control들에 대한 Font를 설정 /// /// /// public static void SetFormAllControlFont(Form fShowForm, string strFontName) { try { for (int nLoop = 0; nLoop < fShowForm.Controls.Count; nLoop++) { fShowForm.Controls[nLoop].Font = new Font(strFontName, fShowForm.Controls[nLoop].Font.Size, fShowForm.Controls[nLoop].Font.Style); if (fShowForm.Controls[nLoop] is Cosmos.UI.CsmGrid) { Cosmos.UI.CsmGrid cCtl = (Cosmos.UI.CsmGrid)fShowForm.Controls[nLoop]; cCtl.CsmGridColumnHeadersFont = new Font(strFontName, cCtl.CsmGridColumnHeadersFont.Size, cCtl.CsmGridColumnHeadersFont.Style); } if (fShowForm.Controls[nLoop] is Panel) { for (int nLoop2 = 0; nLoop2 < fShowForm.Controls[nLoop].Controls.Count; nLoop2++) { fShowForm.Controls[nLoop].Controls[nLoop2].Font = new Font(strFontName, fShowForm.Controls[nLoop].Controls[nLoop2].Font.Size, fShowForm.Controls[nLoop].Controls[nLoop2].Font.Style); if (fShowForm.Controls[nLoop].Controls[nLoop2] is Panel) { for (int nLoop3 = 0; nLoop3 < fShowForm.Controls[nLoop].Controls[nLoop2].Controls.Count; nLoop3++) { fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Font = new Font(strFontName, fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Font.Size, fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Font.Style); } } else if (fShowForm.Controls[nLoop].Controls[nLoop2] is GroupBox) { for (int nLoop3 = 0; nLoop3 < fShowForm.Controls[nLoop].Controls[nLoop2].Controls.Count; nLoop3++) { fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Font = new Font(strFontName, fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Font.Size, fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Font.Style); } } } } else if (fShowForm.Controls[nLoop] is GroupBox) { for (int nLoop2 = 0; nLoop2 < fShowForm.Controls[nLoop].Controls.Count; nLoop2++) { fShowForm.Controls[nLoop].Controls[nLoop2].Font = new Font(strFontName, fShowForm.Controls[nLoop].Controls[nLoop2].Font.Size, fShowForm.Controls[nLoop].Controls[nLoop2].Font.Style); } } } } catch { } } /// /// Form에 올려진 모든 Control들에 대한 이동을 설정 설정 /// /// /// /// public static void SetFormAllControlMove(Form fShowForm, int nX, int nY) { try { for (int nLoop = 0; nLoop < fShowForm.Controls.Count; nLoop++) { if (fShowForm.Controls[nLoop].Name != "picBack") fShowForm.Controls[nLoop].Location = new Point(fShowForm.Controls[nLoop].Left + nX, fShowForm.Controls[nLoop].Top + nY); } } catch { } } /// SetFormAllControlColor public static void SetFormAllControlColor(Form fShowForm, string sImgPath) { string sFileName = sImgPath + fShowForm.Name + ".cfg"; try { if (File.Exists(sFileName) == false) { sFileName = sImgPath + "frmDefault.cfg"; if (File.Exists(sFileName) == false) return; } FileStream fs = new FileStream(sFileName, FileMode.Open, FileAccess.Read); StreamReader sr = new StreamReader(fs, Encoding.Default); try { sr.BaseStream.Seek(0, SeekOrigin.Begin); while (sr.Peek() > -1) { string sData = sr.ReadLine(); if (sData.Trim().Length == 0) continue; string[] saData = sData.Split('|'); SetControlBackColor(fShowForm, saData[0].Trim(), saData[1].Trim()); } sr.Close(); fs.Close(); } catch (Exception ex) { sr.Close(); fs.Close(); } } catch (Exception ex) { } } private static void SetControlBackColor(Form fShowForm, string sControlName, string sBackColor) { try { string[] saColor = sBackColor.Split(','); for (int nLoop = 0; nLoop < fShowForm.Controls.Count; nLoop++) { if (sControlName == fShowForm.Controls[nLoop].Name) { fShowForm.Controls[nLoop].BackColor = Color.FromArgb(int.Parse(saColor[0]), int.Parse(saColor[1]), int.Parse(saColor[2])); return; } if (fShowForm.Controls[nLoop] is Panel) { for (int nLoop2 = 0; nLoop2 < fShowForm.Controls[nLoop].Controls.Count; nLoop2++) { if (sControlName == fShowForm.Controls[nLoop].Controls[nLoop2].Name) { fShowForm.Controls[nLoop].Controls[nLoop2].BackColor = Color.FromArgb(int.Parse(saColor[0]), int.Parse(saColor[1]), int.Parse(saColor[2])); return; } if (fShowForm.Controls[nLoop].Controls[nLoop2] is Panel) { for (int nLoop3 = 0; nLoop3 < fShowForm.Controls[nLoop].Controls[nLoop2].Controls.Count; nLoop3++) { if (sControlName == fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Name) { fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].BackColor = Color.FromArgb(int.Parse(saColor[0]), int.Parse(saColor[1]), int.Parse(saColor[2])); return; } } } else if (fShowForm.Controls[nLoop].Controls[nLoop2] is GroupBox) { for (int nLoop3 = 0; nLoop3 < fShowForm.Controls[nLoop].Controls[nLoop2].Controls.Count; nLoop3++) { if (sControlName == fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].Name) { fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3].BackColor = Color.FromArgb(int.Parse(saColor[0]), int.Parse(saColor[1]), int.Parse(saColor[2])); return; } } } } } else if (fShowForm.Controls[nLoop] is GroupBox) { for (int nLoop2 = 0; nLoop2 < fShowForm.Controls[nLoop].Controls.Count; nLoop2++) { if (sControlName == fShowForm.Controls[nLoop].Controls[nLoop2].Name) { fShowForm.Controls[nLoop].Controls[nLoop2].BackColor = Color.FromArgb(int.Parse(saColor[0]), int.Parse(saColor[1]), int.Parse(saColor[2])); return; } } } } } catch { } } /// SetControlSize public static void SetControlSize(Control oCtl, int nStartX, int nStartY, int nWidth, int nHeight) { try { //oCtl.Location = new Point(nStartX, nStartY); //oCtl.Size = new Size(nWidth, nHeight); oCtl.SetBounds(nStartX, nStartY, nWidth, nHeight); } catch { } } /// SetControlSize public static void SetControlSize(Control oCtl, int nStartX, int nStartY, int nWidth, int nHeight, float nFontSize) { try { //oCtl.Location = new Point(nStartX, nStartY); //oCtl.Size = new Size(nWidth, nHeight); oCtl.SetBounds(nStartX, nStartY, nWidth, nHeight); oCtl.Font = new Font(oCtl.Font.Name, nFontSize, oCtl.Font.Style); } catch { } } #region 기능버튼중 'IC카드' 활성화 및 위치 설정 /// /// 기능버튼중 'IC카드' 활성화 및 위치 설정 /// /// /// /// /// /// /// /// public static bool SetbtnMenu(Cosmos.UI.CsmPosEditBox txtCardNo, bool bICReaderYn, object sender1, object sender2, object sender3, object sender4) { bool bRet = false; try { // 이정돈 위치로 이동 //#20180108 페이온 start, phj //기존 //if (((Cosmos.UI.CsmButton)sender2) != null) ((Cosmos.UI.CsmButton)sender2).Location = new Point(((Cosmos.UI.CsmButton)sender1).Location.X + ((Cosmos.UI.CsmButton)sender1).Size.Width, ((Cosmos.UI.CsmButton)sender1).Location.Y); //if (((Cosmos.UI.CsmButton)sender3) != null) ((Cosmos.UI.CsmButton)sender3).Location = new Point(((Cosmos.UI.CsmButton)sender2).Location.X + ((Cosmos.UI.CsmButton)sender1).Size.Width, ((Cosmos.UI.CsmButton)sender1).Location.Y); //if (((Cosmos.UI.CsmButton)sender4) != null) ((Cosmos.UI.CsmButton)sender4).Location = new Point(((Cosmos.UI.CsmButton)sender3).Location.X + ((Cosmos.UI.CsmButton)sender1).Size.Width, ((Cosmos.UI.CsmButton)sender1).Location.Y); //변경 if (((Cosmos.UI.CsmButton)sender2) != null) ((Cosmos.UI.CsmButton)sender2).Location = new Point(((Cosmos.UI.CsmButton)sender1).Location.X + ((Cosmos.UI.CsmButton)sender1).Size.Width -1, ((Cosmos.UI.CsmButton)sender1).Location.Y); if (((Cosmos.UI.CsmButton)sender3) != null) ((Cosmos.UI.CsmButton)sender3).Location = new Point(((Cosmos.UI.CsmButton)sender2).Location.X + ((Cosmos.UI.CsmButton)sender2).Size.Width -1, ((Cosmos.UI.CsmButton)sender1).Location.Y); if (((Cosmos.UI.CsmButton)sender4) != null) ((Cosmos.UI.CsmButton)sender4).Location = new Point(((Cosmos.UI.CsmButton)sender3).Location.X + ((Cosmos.UI.CsmButton)sender3).Size.Width -1, ((Cosmos.UI.CsmButton)sender1).Location.Y); //#20180108 페이온 end, phj if (bICReaderYn != true) // 여신전문금융업법 적용여부 체크 { if ((Cosmos.UI.CsmButton)sender1 != null && ((Cosmos.UI.CsmButton)sender1).Text == MessageManager.GetLabelMessage(POS_MESSAGE.LABEL.MSG_0132)) { // 액션버튼이 IC카드인 경우 비활성화 하고 나머지 버튼 위치 이동 ((Cosmos.UI.CsmButton)sender1).Text = ""; if (((Cosmos.UI.CsmButton)sender4) != null) ((Cosmos.UI.CsmButton)sender4).Location = ((Cosmos.UI.CsmButton)sender3).Location; if (((Cosmos.UI.CsmButton)sender3) != null) ((Cosmos.UI.CsmButton)sender3).Location = ((Cosmos.UI.CsmButton)sender2).Location; if (((Cosmos.UI.CsmButton)sender2) != null) ((Cosmos.UI.CsmButton)sender2).Location = ((Cosmos.UI.CsmButton)sender1).Location; } } else { if (txtCardNo != null ) txtCardNo.MaxLength = 40; } if (((Cosmos.UI.CsmButton)sender1) != null) if (((Cosmos.UI.CsmButton)sender1).Text.Length == 0) ((Cosmos.UI.CsmButton)sender1).Visible = false; if (((Cosmos.UI.CsmButton)sender2) != null) if (((Cosmos.UI.CsmButton)sender2).Text.Length == 0) ((Cosmos.UI.CsmButton)sender2).Visible = false; if (((Cosmos.UI.CsmButton)sender3) != null) if (((Cosmos.UI.CsmButton)sender3).Text.Length == 0) ((Cosmos.UI.CsmButton)sender3).Visible = false; if (((Cosmos.UI.CsmButton)sender4) != null) if (((Cosmos.UI.CsmButton)sender4).Text.Length == 0) ((Cosmos.UI.CsmButton)sender4).Visible = false; bRet = true; } catch { } return bRet; } #endregion /// /// 입력박스 글로벌 설정(금액표시 형태) /// /// /// /// /// /// public static void SetTextBoxGlobalInfo(Form fShowForm, int nGroupCnt, string sGroupMark, int nDecimalCnt, string sDecimalMark) { try { for (int nLoop = 0; nLoop < fShowForm.Controls.Count; nLoop++) { if (fShowForm.Controls[nLoop] is Cosmos.UI.CsmPosEditBox) ((Cosmos.UI.CsmPosEditBox)fShowForm.Controls[nLoop]).SetGlobalInfo(nGroupCnt, sGroupMark, nDecimalCnt, sDecimalMark); if (fShowForm.Controls[nLoop] is Panel) { for (int nLoop2 = 0; nLoop2 < fShowForm.Controls[nLoop].Controls.Count; nLoop2++) { if (fShowForm.Controls[nLoop].Controls[nLoop2] is Cosmos.UI.CsmPosEditBox) ((Cosmos.UI.CsmPosEditBox)fShowForm.Controls[nLoop].Controls[nLoop2]).SetGlobalInfo(nGroupCnt, sGroupMark, nDecimalCnt, sDecimalMark); if (fShowForm.Controls[nLoop].Controls[nLoop2] is Panel) { for (int nLoop3 = 0; nLoop3 < fShowForm.Controls[nLoop].Controls[nLoop2].Controls.Count; nLoop3++) { if (fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3] is Cosmos.UI.CsmPosEditBox) ((Cosmos.UI.CsmPosEditBox)fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3]).SetGlobalInfo(nGroupCnt, sGroupMark, nDecimalCnt, sDecimalMark); } } else if (fShowForm.Controls[nLoop].Controls[nLoop2] is GroupBox) { for (int nLoop3 = 0; nLoop3 < fShowForm.Controls[nLoop].Controls[nLoop2].Controls.Count; nLoop3++) { if (fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3] is Cosmos.UI.CsmPosEditBox) ((Cosmos.UI.CsmPosEditBox)fShowForm.Controls[nLoop].Controls[nLoop2].Controls[nLoop3]).SetGlobalInfo(nGroupCnt, sGroupMark, nDecimalCnt, sDecimalMark); } } } } else if (fShowForm.Controls[nLoop] is GroupBox) { for (int nLoop2 = 0; nLoop2 < fShowForm.Controls[nLoop].Controls.Count; nLoop2++) { if (fShowForm.Controls[nLoop].Controls[nLoop2] is Cosmos.UI.CsmPosEditBox) ((Cosmos.UI.CsmPosEditBox)fShowForm.Controls[nLoop].Controls[nLoop2]).SetGlobalInfo(nGroupCnt, sGroupMark, nDecimalCnt, sDecimalMark); } } } } catch { } } } }