2 instantiations of PaperSource
System.Drawing (2)
commonui\System\Drawing\Printing\PageSettings.cs (1)
518
return new
PaperSource
((PaperSourceKind) mode.dmDefaultSource, "unknown");
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1251
result[i] = new
PaperSource
((PaperSourceKind) kind, name);
22 references to PaperSource
System.Drawing (18)
commonui\System\Drawing\Printing\PageSettings.cs (5)
32
private
PaperSource
paperSource;
203
public
PaperSource
PaperSource {
214
PaperSource
result = PaperSourceFromMode(mode);
504
private
PaperSource
PaperSourceFromMode(SafeNativeMethods.DEVMODE mode) {
505
PaperSource
[] 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)
1222
internal
PaperSource
[] Get_PaperSources() {
1229
return new
PaperSource
[0];
1242
PaperSource
[] result = new
PaperSource
[count];
1548
private
PaperSource
[] array;
1556
public PaperSourceCollection(
PaperSource
[] array) {
1578
public virtual
PaperSource
this[int index] {
1638
public void CopyTo(
PaperSource
[] paperSources, int index) {
1659
public Int32 Add(
PaperSource
paperSource)
1661
PaperSource
[] newArray = new
PaperSource
[this.Count + 1];
System.Workflow.ComponentModel (4)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (4)
1010
this.printDocument.DefaultPageSettings.PaperSource = (
PaperSource
)this.paperSourceComboBox.SelectedItem;
1193
foreach (
PaperSource
paperSource in paperSourceCollection)
1205
this.paperSourceComboBox.SelectedItem = this.paperSourceComboBox.Items[0] as
PaperSource
;
1206
this.printDocument.DefaultPageSettings.PaperSource = this.paperSourceComboBox.SelectedItem as
PaperSource
;