Example #1
0
 public AlertOptions(string Message, string SubText, AlertType Type, int DockTime, AlertPopupStyle PopupStyle, AlertCloseStyle CloseStyle)
 {
     this.Message = Message;
     this.SubText = SubText;
     this.Type = Type;
     this.DockTime = DockTime;
     this.PopupStyle = PopupStyle;
     this.CloseStyle = CloseStyle;
 }
Example #2
0
 public static void Show(string Message, string SubText, AlertType Type, int DockTime, AlertPopupStyle PopupStyle, AlertCloseStyle CloseStyle)
 {
     Alerts.Enqueue(new AlertOptions(Message, SubText, Type, DockTime, PopupStyle, CloseStyle));
     CheckAlerts();
 }