CSKernelClient.fMsg.setIcon C# (CSharp) Method

setIcon() public method

public setIcon ( CSMSGICONS icon ) : void
icon CSMSGICONS
return void
        public void setIcon(CSMSGICONS icon)
        {
            switch (icon) {
                case CSMSGICONS.Error:
                    setErrorIcon();
                    break;
                case CSMSGICONS.Exclamation:
                    setErrorWarning();
                    break;
                case CSMSGICONS.Information:
                    setErrorInfo();
                    break;
            }
        }
        public void setMessage(String value)

Usage Example

Esempio n. 1
0
 private static void pMsgAux(String msg, CSMSGICONS icon, String title, String details) 
 {
     if (title == "@@@@@") { title = m_title; }
     fMsg fmsg = new fMsg();
     fmsg.setIcon(icon);
     fmsg.setMessage(msg);
     fmsg.setTitle(title);
     fmsg.ShowDialog();
 }
All Usage Examples Of CSKernelClient.fMsg::setIcon