Exemplo n.º 1
0
 private void HandleGlobalMsgPacket(string message)
 {
     AppendChat(Color.Red, Color.Red, "Global Broadcast", message);
     if (ShowChatNotifications && !IsForegroundWindow)
     {
         Auxilium.FlashWindow(this.Handle, true);
         niChat.ShowBalloonTip(100, "Global Broadcast", message, ToolTipIcon.Info);
     }
 }
Exemplo n.º 2
0
        //TODO: Suport custom server colors?
        private void HandleChatterPacket(ushort id, string message)
        {
            string name = Users[id];

            AppendChat(Color.Blue, Color.Black, name, message);

            if (ShowChatNotifications && !IsForegroundWindow)
            {
                Auxilium.FlashWindow(this.Handle, true);
                niChat.ShowBalloonTip(100, name, message, ToolTipIcon.Info);
            }
        }