30 references to PrintingPermissionLevel
System.Drawing (27)
commonui\System\Drawing\IntSecurity.cs (4)
18
public static readonly PrintingPermission NoPrinting = new PrintingPermission(
PrintingPermissionLevel
.NoPrinting);
19
public static readonly PrintingPermission SafePrinting = new PrintingPermission(
PrintingPermissionLevel
.SafePrinting);
20
public static readonly PrintingPermission DefaultPrinting = new PrintingPermission(
PrintingPermissionLevel
.DefaultPrinting);
21
public static readonly PrintingPermission AllPrinting = new PrintingPermission(
PrintingPermissionLevel
.AllPrinting);
commonui\System\Drawing\Printing\PrintingPermission.cs (19)
23
private
PrintingPermissionLevel
printingLevel;
32
printingLevel =
PrintingPermissionLevel
.AllPrinting;
35
printingLevel =
PrintingPermissionLevel
.NoPrinting;
46
public PrintingPermission(
PrintingPermissionLevel
printingLevel) {
56
public
PrintingPermissionLevel
Level {
67
private static void VerifyPrintingLevel(
PrintingPermissionLevel
level) {
68
if (level <
PrintingPermissionLevel
.NoPrinting || level >
PrintingPermissionLevel
.AllPrinting) {
86
return printingLevel ==
PrintingPermissionLevel
.AllPrinting;
102
return printingLevel ==
PrintingPermissionLevel
.NoPrinting;
126
PrintingPermissionLevel
isectLevels = printingLevel < operand.printingLevel ? printingLevel : operand.printingLevel;
127
if (isectLevels ==
PrintingPermissionLevel
.NoPrinting)
147
PrintingPermissionLevel
isectLevels = printingLevel > operand.printingLevel ? printingLevel : operand.printingLevel;
148
if (isectLevels ==
PrintingPermissionLevel
.NoPrinting)
176
securityElement.AddAttribute("Level", Enum.GetName(typeof(
PrintingPermissionLevel
), printingLevel));
205
printingLevel =
PrintingPermissionLevel
.AllPrinting;
209
printingLevel =
PrintingPermissionLevel
.NoPrinting;
215
printingLevel = (
PrintingPermissionLevel
)Enum.Parse(typeof(
PrintingPermissionLevel
), printing);
commonui\System\Drawing\Printing\PrintingPermissionAttribute.cs (4)
19
PrintingPermissionLevel
level;
27
public
PrintingPermissionLevel
Level {
33
if (value <
PrintingPermissionLevel
.NoPrinting || value >
PrintingPermissionLevel
.AllPrinting) {
System.Windows.Forms (3)
winforms\Managed\System\WinForms\WinFormsSecurity.cs (3)
115
allPrinting = new PrintingPermission(
PrintingPermissionLevel
.AllPrinting);
210
defaultPrinting = new PrintingPermission(
PrintingPermissionLevel
.DefaultPrinting);
342
safePrinting = new PrintingPermission(
PrintingPermissionLevel
.SafePrinting);