SetIsActivated() private method

private SetIsActivated ( bool value ) : void
value bool
return void
示例#1
0
            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);
                }
            }
示例#2
0
            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);
                }
            }
示例#4
0
            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 = 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);
            }