Beispiel #1
0
        private void topLevelWindow_MouseMove(object sender, MouseEventArgs mouseEvent)
        {
            count++;
            if (count == 20)
            {
                RemoveAllChildren();

                ScrollableWidget allContainer = new ScrollableWidget(true);
                topToBottomTotal = new FlowLayoutWidget(FlowDirection.TopToBottom);

                topToBottomTotal.SuspendLayout();
                GuiWidget.DefaultEnforceIntegerBounds = true;
                AddInfoRecursive(topLevelWindow, topToBottomTotal);
                GuiWidget.DefaultEnforceIntegerBounds = false;
                topToBottomTotal.ResumeLayout();
                topToBottomTotal.PerformLayout();
                allContainer.AddChild(topToBottomTotal);

                AddChild(allContainer);
                allContainer.AnchorAll();
            }
        }
		private void topLevelWindow_MouseMove(object sender, MouseEventArgs mouseEvent)
		{
			count++;
			if (count == 20)
			{
				RemoveAllChildren();

				ScrollableWidget allContainer = new ScrollableWidget(true);
				topToBottomTotal = new FlowLayoutWidget(FlowDirection.TopToBottom);

				topToBottomTotal.SuspendLayout();
				GuiWidget.DefaultEnforceIntegerBounds = true;
				AddInfoRecursive(topLevelWindow, topToBottomTotal);
				GuiWidget.DefaultEnforceIntegerBounds = false;
				topToBottomTotal.ResumeLayout();
				topToBottomTotal.PerformLayout();
				allContainer.AddChild(topToBottomTotal);

				AddChild(allContainer);
				allContainer.AnchorAll();
			}
		}