Exemplo n.º 1
0
 public MsgBox(string msg, MsgBoxTypes msgBoxType)
     : base(0, 0)
 {
     m_msg   = "<big color=000000>" + msg;
     m_type  = msgBoxType;
     IsModal = true;
 }
Exemplo n.º 2
0
 public MsgBox(string msg, MsgBoxTypes msgBoxType)
     : base(0, 0)
 {
     m_msg = "<big color=000000>" + msg;
     m_type = msgBoxType;
     IsModal = true;
 }
Exemplo n.º 3
0
 public static MsgBox MsgBox(string msg, MsgBoxTypes type)
 {
     // pop up an error message, modal.
     MsgBox msgbox = new MsgBox(msg, type);
     UltimaEngine.UserInterface.AddControl(msgbox, 0, 0);
     return msgbox;
 }
Exemplo n.º 4
0
 private MsgBoxGump(string msg, MsgBoxTypes msgBoxType)
     : base(0, 0)
 {
     _msg  = "<big color=000000>" + msg;
     _type = msgBoxType;
     UserInterface.AddControl(this, 0, 0);
     MetaData.IsModal = true;
 }
Exemplo n.º 5
0
        /// <summary>
        /// Opens a modal message box with either 'OK' or 'OK and Cancel' buttons.
        /// </summary>
        /// <param name="msg"></param>
        /// <param name="type"></param>
        /// <returns>The created message box.</returns>
        public MsgBox MsgBox(string msg, MsgBoxTypes type)
        {
            // pop up an error message, modal.
            MsgBox msgbox = new MsgBox(msg, type);

            Engine.UserInterface.AddControl(msgbox, 0, 0);
            return(msgbox);
        }
Exemplo n.º 6
0
 private MsgBoxGump(string msg, MsgBoxTypes msgBoxType)
     : base(0, 0)
 {
     m_msg = "<big color=000000>" + msg;
     m_type = msgBoxType;
     UserInterface.AddControl(this, 0, 0);
     MetaData.IsModal = true;
 }
Exemplo n.º 7
0
        /// <summary>
        /// Opens a modal message box with either 'OK' or 'OK and Cancel' buttons.
        /// </summary>
        /// <param name="msg"></param>
        /// <param name="type"></param>
        public static MsgBoxGump Show(string msg, MsgBoxTypes type)
        {
            MsgBoxGump gump = new MsgBoxGump(msg, type);

            return(gump);
        }
Exemplo n.º 8
0
 public MsgBox(string msg, MsgBoxTypes msgBoxType)
     : base(0, 0)
 {
     _msg = "<big color=000000>" + msg;
     _type = msgBoxType;
 }
Exemplo n.º 9
0
 /// <summary>
 /// Opens a modal message box with either 'OK' or 'OK and Cancel' buttons.
 /// </summary>
 /// <param name="msg"></param>
 /// <param name="type"></param>
 public static MsgBoxGump Show(string msg, MsgBoxTypes type)
 {
     MsgBoxGump gump = new MsgBoxGump(msg, type);
     return gump;
 }