コード例 #1
0
        protected void ShowErrorBox(string message, string title)
        {
            using (fMessageBox fMsg = new fMessageBox(this))
            {
                fMsg.MESSAGE  = message;
                fMsg.TITLE    = title;
                fMsg.MSG_ICON = eMessageIcon.Danger;
                fMsg.MSG_TON  = eMessageTon.Dangerous;

                fMsg.ShowDialog();
            }
        }
コード例 #2
0
        protected void ShowCompletelyBox(string message, string title)
        {
            using (fMessageBox fMsg = new fMessageBox(this))
            {
                fMsg.MESSAGE  = message;
                fMsg.TITLE    = title;
                fMsg.MSG_ICON = eMessageIcon.Safe;
                fMsg.MSG_TON  = eMessageTon.Completely;

                fMsg.ShowDialog();
            }
        }
コード例 #3
0
        protected DialogResult ShowQuestionBox(string message, string title)
        {
            DialogResult result;

            using (fMessageBox fMsg = new fMessageBox(this))
            {
                fMsg.MESSAGE  = message;
                fMsg.TITLE    = title;
                fMsg.MSG_ICON = eMessageIcon.Unknow;
                fMsg.MSG_TON  = eMessageTon.Information;

                result = fMsg.ShowDialog();
            }

            return(result);
        }