2 instantiations of PaperSource
System.Drawing (2)
commonui\System\Drawing\Printing\PageSettings.cs (1)
518return new PaperSource((PaperSourceKind) mode.dmDefaultSource, "unknown");
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1251result[i] = new PaperSource((PaperSourceKind) kind, name);
22 references to PaperSource
System.Drawing (18)
commonui\System\Drawing\Printing\PageSettings.cs (5)
32private PaperSource paperSource; 203public PaperSource PaperSource { 214PaperSource result = PaperSourceFromMode(mode); 504private PaperSource PaperSourceFromMode(SafeNativeMethods.DEVMODE mode) { 505PaperSource[] sources = printerSettings.Get_PaperSources();
commonui\System\Drawing\Printing\PaperSource.cs (2)
30/// Initializes a new instance of the <see cref='System.Drawing.Printing.PaperSource'/> class with default properties. 31/// This constructor is required for the serialization of the <see cref='System.Drawing.Printing.PaperSource'/> class.
commonui\System\Drawing\Printing\PrinterSettings.cs (11)
1222internal PaperSource[] Get_PaperSources() { 1229return new PaperSource[0]; 1242PaperSource[] result = new PaperSource[count]; 1548private PaperSource[] array; 1556public PaperSourceCollection(PaperSource[] array) { 1578public virtual PaperSource this[int index] { 1638public void CopyTo(PaperSource[] paperSources, int index) { 1659public Int32 Add(PaperSource paperSource) 1661PaperSource[] newArray = new PaperSource[this.Count + 1];
System.Workflow.ComponentModel (4)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (4)
1010this.printDocument.DefaultPageSettings.PaperSource = (PaperSource)this.paperSourceComboBox.SelectedItem; 1193foreach (PaperSource paperSource in paperSourceCollection) 1205this.paperSourceComboBox.SelectedItem = this.paperSourceComboBox.Items[0] as PaperSource; 1206this.printDocument.DefaultPageSettings.PaperSource = this.paperSourceComboBox.SelectedItem as PaperSource;