Пример #1
0
 /// <summary>
 /// Information 메세지 처리 (코드가 아닌 메세지로 팝업창을 출력하는 경우 사용)
 /// </summary>
 /// <param name="_strMessage">팝업 메세지</param>
 /// <param name="_enumCodeMessage">코드, 메세지 여부</param>
 public static void MsgInfo(string _strMessage, BaseEnumClass.CodeMessage _enumCodeMessage)
 {
     if (_enumCodeMessage == BaseEnumClass.CodeMessage.CODE)
     {
         MsgInfo(_strMessage);
     }
     else
     {
         using (uKioskMsgBox frmInformation = new uKioskMsgBox(_strMessage, MsgBoxKind.Information))
         {
             frmInformation.ClickResult += FrmMsgBox_ClickResult;
             frmInformation.ShowDialog();
         }
     }
 }
Пример #2
0
 /// <summary>
 /// Error 메세지 처리 (코드가 아닌 메세지로 팝업창을 출력하는 경우 사용)
 /// </summary>
 /// <param name="_strMessage">팝업 메세지</param>
 /// <param name="_enumCodeMessage">코드, 메세지 구분</param>
 public static void MsgError(string _strMessage, BaseEnumClass.CodeMessage _enumCodeMessage)
 {
     if (_enumCodeMessage == BaseEnumClass.CodeMessage.CODE)
     {
         MsgError(_strMessage);
     }
     else
     {
         using (uKioskMsgBox frmError = new uKioskMsgBox(_strMessage, MsgBoxKind.Error))
         {
             frmError.ClickResult += FrmMsgBox_ClickResult;
             frmError.ShowDialog();
         }
     }
 }
Пример #3
0
        /// <summary>
        /// Information 메세지 리소스 설정 및 메세지 박스 호출 (박스 멀티 항목 처리)
        /// </summary>
        /// <param name="_strMessageResourceCode">메세지 리소스 코드</param>
        /// <param name="_strConditionValue">멀티 항목 조건값</param>
        public static void MsgInfo(string _strMessageResourceCode, string _strConditionValue)
        {
            string strMessage = string.Empty;

            if (_strConditionValue.Length == 0)
            {
                strMessage = ConvertMsgBoxValue(_strMessageResourceCode);
            }
            else
            {
                strMessage = ConvertMsgBoxValue(_strMessageResourceCode, _strConditionValue);
            }

            using (uKioskMsgBox frmInformation = new uKioskMsgBox(strMessage, MsgBoxKind.Information))
            {
                frmInformation.ClickResult += FrmMsgBox_ClickResult;
                frmInformation.ShowDialog();
            }
        }