Пример #1
0
        // Token: 0x06005858 RID: 22616 RVA: 0x00187504 File Offset: 0x00185704
        private static void OnThumbDragDelta(object sender, DragDeltaEventArgs e)
        {
            ToolBarTray toolBarTray = (ToolBarTray)sender;

            if (toolBarTray.IsLocked)
            {
                return;
            }
            toolBarTray.ProcessThumbDragDelta(e);
        }
Пример #2
0
        //-------------------------------------------------------------------
        //
        //  Private Methods
        //
        //-------------------------------------------------------------------

        #region Private Methods

        // Event handler to listen to thumb events.
        private static void OnThumbDragDelta(object sender, DragDeltaEventArgs e)
        {
            ToolBarTray toolBarTray = (ToolBarTray)sender;

            // Don't move toolbars if IsLocked == true
            if (toolBarTray.IsLocked)
            {
                return;
            }

            toolBarTray.ProcessThumbDragDelta(e);
        }