System.Windows.Forms.XplatUICarbon.SetModal C# (CSharp) Méthode

SetModal() private méthode

private SetModal ( IntPtr handle, bool Modal ) : void
handle System.IntPtr
Modal bool
Résultat void
		internal override void SetModal(IntPtr handle, bool Modal) {
			IntPtr hWnd = HIViewGetWindow (Hwnd.ObjectFromHandle (handle).WholeWindow);
			if (Modal)
				BeginAppModalStateForWindow (hWnd);
			else
				EndAppModalStateForWindow (hWnd);
			return;
		}
XplatUICarbon