10 references to CurrentPanel
System.Windows.Forms.Design (10)
System\ComponentModel\Design\DesignerActionUI.cs (2)
337
DesignerActionPanel? dap = _designerActionHost.
CurrentPanel
; // WE DO NOT RECREATE THE WHOLE THING / WE UPDATE THE TASKS - should flicker less
739
_designerActionKeyboardBehavior = new DesignerActionKeyboardBehavior(_designerActionHost.
CurrentPanel
, _serviceProvider, _behaviorService);
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (8)
33
if (
CurrentPanel
is not null)
35
Size panelSize =
CurrentPanel
.GetPreferredSize(new Size(150, int.MaxValue));
36
if (
CurrentPanel
.Size == panelSize)
42
CurrentPanel
.PerformLayout();
46
CurrentPanel
.Size = panelSize;
63
if (
CurrentPanel
is not null &&
CurrentPanel
.Handle == focusedControl)
65
CurrentPanel
.SelectNextControl(null, true, true, true, true);