Exemple #1
0
        static WindowManager()
        {
            ChatWindows = new ConcurrentBag<ChatWindow>();
            GrowlWindow = new GrowlNotifications();
            _uiLagWindowThread = new Thread(() =>
            {
                UiLagWindow = new UiLagWindow();
                _uiLagWindowDispatcher = Dispatcher.CurrentDispatcher;
                System.Windows.Threading.Dispatcher.Run();
            });

            _uiLagWindowThread.Name = "Lag Window UI Thread";
            _uiLagWindowThread.SetApartmentState(ApartmentState.STA);
            _uiLagWindowThread.Start();
        }
Exemple #2
0
 static WindowManager()
 {
     ChatWindows = new ConcurrentBag<ChatWindow>();
     GrowlWindow = new GrowlNotifications();
 }