23 references to SC
PresentationFramework (23)
System\Windows\Shell\WindowChromeWorker.cs (15)
932NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 933NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 934NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 935NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 936NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, mfDisabled); 939NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfEnabled); 940NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfDisabled); 941NativeMethods.EnableMenuItem(hmenu, SC.SIZE, mfDisabled); 942NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, mfDisabled); 943NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled); 946NativeMethods.EnableMenuItem(hmenu, SC.RESTORE, mfDisabled); 947NativeMethods.EnableMenuItem(hmenu, SC.MOVE, mfEnabled); 948NativeMethods.EnableMenuItem(hmenu, SC.SIZE, canSize ? mfEnabled : mfDisabled); 949NativeMethods.EnableMenuItem(hmenu, SC.MINIMIZE, canMinimize ? mfEnabled : mfDisabled); 950NativeMethods.EnableMenuItem(hmenu, SC.MAXIMIZE, canMaximize ? mfEnabled : mfDisabled);
System\Windows\Standard\NativeMethods.cs (3)
2660private static extern int _EnableMenuItem(IntPtr hMenu, SC uIDEnableItem, MF uEnable); 2663public static MF EnableMenuItem(IntPtr hMenu, SC uIDEnableItem, MF uEnable) 2676public 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);