4 writes to kind
System.Drawing (4)
commonui\System\Drawing\Printing\PaperSize.cs (4)
43this.kind = PaperKind.Custom; 49this.kind = kind; 62this.kind = PaperKind.Custom; 125set { kind = unchecked((PaperKind) value); }
8 references to kind
System.Drawing (8)
commonui\System\Drawing\Printing\PaperSize.cs (8)
79if (kind != PaperKind.Custom && !this.createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom)); 93if (kind <= (PaperKind)SafeNativeMethods.DMPAPER_LAST && 94!(kind == (PaperKind)SafeNativeMethods.DMPAPER_RESERVED_48 || kind == (PaperKind)SafeNativeMethods.DMPAPER_RESERVED_49)) 95return kind; 110if (kind != PaperKind.Custom && !this.createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom)); 124get { return unchecked((int) kind); } 139if (kind != PaperKind.Custom && !createdByDefaultConstructor) throw new ArgumentException(SR.GetString(SR.PSizeNotCustom));