/// <summary> /// 最前面を切替 /// </summary> /// <param name="topmost"></param> private void SetTopmost(bool topmost) { //if (_isTopmost == topmost) return; if (uniWinCore == null) { return; } uniWinCore.EnableTopmost(topmost); _isTopmost = uniWinCore.IsTopmost; StateChangedEvent(); }
/// <summary> /// 最前面を切替 /// </summary> /// <param name="topmost"></param> private void SetTopmost(bool topmost) { //if (_isTopmost == topmost) return; if (uniWinCore == null) { return; } uniWinCore.EnableTopmost(topmost); _isTopmost = uniWinCore.IsTopmost; _isBottommost = uniWinCore.IsBottommost; }