23 references to SC
PresentationFramework (23)
System\Windows\Shell\WindowChromeWorker.cs (15)
682NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 683NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 684NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 685NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 686NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, mfDisabled); 689NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 690NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 691NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 692NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, mfDisabled); 693NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled); 696NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfDisabled); 697NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfEnabled); 698NativeMethods.EnableMenuItem(hmenu, SC.SIZE, canSize ? mfEnabled : mfDisabled); 699NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 700NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled);
System\Windows\Standard\NativeMethods.cs (3)
2587private static extern int _EnableMenuItem(IntPtr hMenu, SC uIDEnableItem, MF uEnable); 2589public static MF EnableMenuItem(IntPtr hMenu, SC uIDEnableItem, MF uEnable) 2600public static void RemoveMenu(IntPtr hMenu, SC uPosition, MF uFlags)
System\Windows\SystemCommands.cs (5)
29private static void _PostSystemCommand(Window window, SC command) 43_PostSystemCommand(window, SC.CLOSE); 49_PostSystemCommand(window, SC.MAXIMIZE); 55_PostSystemCommand(window, SC.MINIMIZE); 61_PostSystemCommand(window, SC.RESTORE);