예제 #1
0
        public void ForceChatRefresh()
        {
            foreach (ClientWindow window in OpenWindows)
            {
                ChatChannelWindow chat = window as ChatChannelWindow;

                if (chat != null)
                {
                    // Force window refresh
                    chat.firstMessageIndexRendered = ulong.MaxValue;
                }
            }
        }
예제 #2
0
        public void ForceChatRefresh()
        {
            foreach (ClientWindow window in OpenWindows)
            {
                ChatChannelWindow chat = window as ChatChannelWindow;

                if (chat != null && chat.Component != null && chat.Component.MessageHolder != null)
                {
                    // Force window refresh
                    chat.Component.MessageHolder.ForceRefresh();
                }
            }
        }