Beispiel #1
0
 //--------------------------------------------------------Events:---------------------------------------------------------------------\\
 #region --Events--
 private void ToastHelper_OnChatMessageToast(OnChatMessageToastEventArgs args)
 {
     if (!args.Cancel && args.toasterTypeOverride == ChatMessageToasterType.FULL)
     {
         args.toasterTypeOverride = ChatMessageToasterType.REDUCED;
     }
 }
 //--------------------------------------------------------Events:---------------------------------------------------------------------\\
 #region --Events--
 private void ToastHelper_OnChatMessageToast(OnChatMessageToastEventArgs args)
 {
     if (!args.Cancel && args.toasterTypeOverride == ChatMessageToasterType.FULL && UiUtils.IsWindowActivated)
     {
         args.toasterTypeOverride = ChatMessageToasterType.REDUCED;
     }
 }