23 references to SC
PresentationFramework (23)
System\Windows\Shell\WindowChromeWorker.cs (15)
687NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 688NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 689NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 690NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 691NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, mfDisabled); 694NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 695NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 696NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 697NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, mfDisabled); 698NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled); 701NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfDisabled); 702NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfEnabled); 703NativeMethods.EnableMenuItem(hmenu, SC.SIZE, canSize ? mfEnabled : mfDisabled); 704NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 705NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled);
System\Windows\Standard\NativeMethods.cs (3)
2592private static extern int _EnableMenuItem(IntPtr hMenu, SC uIDEnableItem, MF uEnable); 2594public static MF EnableMenuItem(IntPtr hMenu, SC uIDEnableItem, MF uEnable) 2605public static void RemoveMenu(IntPtr hMenu, SC uPosition, MF uFlags)
System\Windows\SystemCommands.cs (5)
31private static void _PostSystemCommand(Window window, SC command) 45_PostSystemCommand(window, SC.CLOSE); 51_PostSystemCommand(window, SC.MAXIMIZE); 57_PostSystemCommand(window, SC.MINIMIZE); 63_PostSystemCommand(window, SC.RESTORE);