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