private void SetActivePane() { DockPane value = null; if (Environment.OSVersion.Platform != PlatformID.Unix && Environment.OSVersion.Platform != PlatformID.MacOSX) { value = GetPaneFromHandle(NativeMethods.GetFocus()); } if (m_activePane == value) { return; } if (m_activePane != null) { m_activePane.SetIsActivated(false); } m_activePane = value; if (m_activePane != null) { m_activePane.SetIsActivated(true); } }
private void SetActivePane() { DockPane value = GetPaneFromHandle(NativeMethods.GetFocus()); if (m_activePane == value) return; if (m_activePane != null) m_activePane.SetIsActivated(false); m_activePane = value; if (m_activePane != null) m_activePane.SetIsActivated(true); }
private void SetActivePane() { DockPane value = !NativeMethods.ShouldUseWin32() ? null : GetPaneFromHandle(NativeMethods.GetFocus()); if (m_activePane == value) { return; } if (m_activePane != null) { m_activePane.SetIsActivated(false); } m_activePane = value; if (m_activePane != null) { m_activePane.SetIsActivated(true); } }
private void SetActivePane() { DockPane value = Win32Helper.IsRunningOnMono ? null : GetPaneFromHandle(NativeMethods.GetFocus()); if (m_activePane == value) { return; } if (m_activePane != null) { m_activePane.SetIsActivated(false); } m_activePane = value; if (m_activePane != null) { m_activePane.SetIsActivated(true); } }
private void SetActivePane() { DockPane value = null; // TODO: comment// GetPaneFromHandle(NativeMethods.GetFocus()); if (m_activePane == value) { return; } if (m_activePane != null) { m_activePane.SetIsActivated(false); } m_activePane = value; if (m_activePane != null) { m_activePane.SetIsActivated(true); } }
private void SetActivePane() { DockPane value = Win32Helper.IsRunningOnMono ? null : GetPaneFromHandle(NativeMethods.GetFocus()); if (m_activePane == value) return; if (m_activePane != null) m_activePane.SetIsActivated(false); m_activePane = value; if (m_activePane != null) m_activePane.SetIsActivated(true); }
private void SetActivePane() { DockPane value = null; if (Environment.OSVersion.Platform != PlatformID.Unix && Environment.OSVersion.Platform != PlatformID.MacOSX) value = GetPaneFromHandle(NativeMethods.GetFocus()); if (m_activePane == value) return; if (m_activePane != null) m_activePane.SetIsActivated(false); m_activePane = value; if (m_activePane != null) m_activePane.SetIsActivated(true); }