Esempio n. 1
0
 public void SetMinimized(bool minimized)
 {
     if (minimized)
     {
         uniWin.Minimize();
     }
     else if (uniWin.IsMinimized)
     {
         uniWin.Restore();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// 最小化を切替
 /// </summary>
 public void SetMinimized(bool minimized)
 {
     //if (_isMinimized == minimized) return;
     if (uniWin == null)
     {
         _isMinimized = minimized;
     }
     else
     {
         if (minimized)
         {
             uniWin.Minimize();
         }
         else if (uniWin.IsMinimized)
         {
             uniWin.Restore();
         }
         _isMinimized = uniWin.IsMinimized;
     }
     StateChangedEvent();
 }