Пример #1
0
        public static DiscWindows Get()
        {
            if (_inst == null)
                _inst = new DiscWindows();

            return _inst;
        }
Пример #2
0
 public void HidePublic()
 {
     if (DiscWindows.Get().discDashboard != null)
     {
         DiscWindows.Get().discDashboard.Hide();
     }
 }
Пример #3
0
 public void ShowPublic()
 {
     if (DiscWindows.Get().discDashboard != null)
     {
         DiscWindows.Get().discDashboard.Show();
     }
 }
Пример #4
0
        public static DiscWindows Get()
        {
            if (_inst == null)
            {
                _inst = new DiscWindows();
            }

            return(_inst);
        }
Пример #5
0
 public void ShowOwnWindows()
 {
     DiscWindows.Get().mainWnd.Show();
     if (DiscWindows.Get().privateDiscBoard != null)
     {
         DiscWindows.Get().privateDiscBoard.Show();
     }
     if (DiscWindows.Get().moderDashboard != null)
     {
         DiscWindows.Get().moderDashboard.Show();
     }
     if (DiscWindows.Get().htmlBackgroundWnd != null)
     {
         DiscWindows.Get().htmlBackgroundWnd.Show();
     }
 }