20 references to TopLevel
System.Windows.Forms (20)
winforms\Managed\System\WinForms\Form.cs (19)
1001
else if (
TopLevel
)
1008
if (
TopLevel
&& (formState[FormStateLayered] != 0)) {
1055
if (
TopLevel
|| IsMdiChild) {
1237
if (
TopLevel
&& menu != null && menu.ItemCount > 0) {
2166
if (value != null && !
TopLevel
) {
2575
if (IsHandleCreated &&
TopLevel
) {
2765
if (
TopLevel
&& IsRestrictedWindow) {
3689
if (Menu != null || !
TopLevel
|| IsMdiContainer)
3695
if (!ShowInTaskbar && OwnerInternal == null &&
TopLevel
) {
4447
if (
TopLevel
) {
4496
if (
TopLevel
) {
5766
if (
TopLevel
) {
6084
else if (!
TopLevel
) {
6145
else if (!
TopLevel
) {
6428
if (IsHandleCreated &&
TopLevel
) {
6451
if ((formState[FormStateLayered] != 0) && IsHandleCreated &&
TopLevel
&& OSFeature.Feature.IsPresent(OSFeature.LayeredWindows)) {
6485
if (!
TopLevel
) {
6980
if (
TopLevel
&& (si.dwFlags & NativeMethods.STARTF_USESHOWWINDOW) != 0) {
7704
if (!owner.
TopLevel
&& !owner.DesignMode) {
winforms\Managed\System\WinForms\StatusBar.cs (1)
1120
if (!((Form)parent).
TopLevel