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