public void SetMinimized(bool minimized) { if (minimized) { uniWin.Minimize(); } else if (uniWin.IsMinimized) { uniWin.Restore(); } }
/// <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(); }