1 implementation of Loading
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerHost.cs (1)
866
bool IDesignerHost.
Loading
=>
68 references to Loading
System.Windows.Forms.Design (23)
System\ComponentModel\Design\DesignerEventService.cs (1)
84
if (ce.Component?.Site?.Container is IDesignerHost {
Loading
: true })
System\ComponentModel\Design\DesignerHost.cs (2)
850
if (!((IDesignerHost)this).
Loading
)
860
if (!((IDesignerHost)this).
Loading
)
System\ComponentModel\Design\Serialization\BasicDesignerLoader.cs (7)
471
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
486
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
501
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
516
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
531
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
546
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
563
if (_state[s_stateEnableComponentEvents] && !LoaderHost.
Loading
)
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (2)
152
if (_host.
Loading
)
191
if (_host is not null && !_host.
Loading
)
System\Windows\Forms\Design\CommandSet.cs (1)
2994
&& !host.
Loading
System\Windows\Forms\Design\ComponentTray.cs (3)
723
if (host is not null && !host.
Loading
)
742
if (host is not null && !host.
Loading
)
1533
if (host is not null && host.
Loading
)
System\Windows\Forms\Design\ControlDesigner.cs (1)
164
if ((!TryGetService(out IDesignerHost? host) || (host is not null && !host.
Loading
))
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
83
if ((host is null || (host is not null && !host.
Loading
)) && Component.Site is not null)
System\Windows\Forms\Design\DocumentDesigner.cs (2)
116
if (host is not null && !host.
Loading
)
921
if (host is not null && host.
Loading
&& !_trayLayoutSuspended)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
201
return host.
Loading
;
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
370
if (_host is not null && !_host.
Loading
)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
404
if (_designerHost is not null && !_designerHost.
Loading
)
System.Windows.Forms.Design.Tests (45)
System\ComponentModel\Design\DesignerHostTests.cs (13)
98
Assert.False(host.
Loading
);
114
Assert.True(host.
Loading
);
118
Assert.Equal(loading, host.
Loading
);
904
Assert.False(host.
Loading
);
1815
Assert.False(host.
Loading
);
1830
Assert.False(host.
Loading
);
1843
Assert.False(host.
Loading
);
1855
Assert.False(host.
Loading
);
2225
Assert.False(host.
Loading
);
2944
Assert.False(host.
Loading
);
2975
Assert.True(host.
Loading
);
3016
Assert.False(host.
Loading
);
3047
Assert.True(host.
Loading
);
System\ComponentModel\Design\DesignSurfaceTests.cs (31)
22
Assert.False(surface.Host.
Loading
);
61
Assert.False(surface.Host.
Loading
);
83
Assert.False(surface.Host.
Loading
);
105
Assert.False(surface.Host.
Loading
);
152
Assert.False(surface.Host.
Loading
);
421
Assert.True(surface.Host.
Loading
);
422
Assert.True(host.
Loading
);
444
Assert.False(surface.Host.
Loading
);
472
Assert.False(surface.Host.
Loading
);
491
Assert.False(surface.Host.
Loading
);
523
Assert.True(surface.Host.
Loading
);
535
Assert.True(surface.Host.
Loading
);
588
Assert.False(surface.Host.
Loading
);
598
Assert.False(surface.Host.
Loading
);
933
Assert.False(surface.Host.
Loading
);
934
Assert.False(host.
Loading
);
1194
Assert.True(host.
Loading
);
1198
Assert.True(host.
Loading
);
1211
Assert.True(host.
Loading
);
1215
Assert.True(host.
Loading
);
1221
Assert.True(host.
Loading
);
1296
Assert.True(host.
Loading
);
1300
Assert.True(host.
Loading
);
1313
Assert.True(host.
Loading
);
1317
Assert.True(host.
Loading
);
1330
Assert.True(host.
Loading
);
1334
Assert.True(host.
Loading
);
1340
Assert.True(host.
Loading
);
1355
Assert.True(host.
Loading
);
1359
Assert.True(host.
Loading
);
1365
Assert.True(host.
Loading
);
ToolStripDropDownDesignerTest.cs (1)
24
.Setup(h => h.
Loading
)