mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
44 lines
863 B
C#
44 lines
863 B
C#
//
|
|
// System.Drawing.PaperSource.cs
|
|
//
|
|
// Author:
|
|
// Dennis Hayes ([email protected])
|
|
// Herve Poussineau ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc
|
|
//
|
|
using System;
|
|
|
|
namespace System.Drawing.Printing
|
|
{
|
|
/// <summary>
|
|
/// Summary description for PaperSource.
|
|
/// </summary>
|
|
public class PaperSource
|
|
{
|
|
PaperSourceKind _Kind;
|
|
string _SourceName;
|
|
|
|
// NOTE:how to construct this class?
|
|
// I have added a constructor, but I am not sure of me...
|
|
internal PaperSource(string sourceName, PaperSourceKind kind)
|
|
{
|
|
_SourceName = sourceName;
|
|
_Kind = kind;
|
|
}
|
|
|
|
public PaperSourceKind Kind{
|
|
get {
|
|
return _Kind; }
|
|
}
|
|
public string SourceName{
|
|
get {
|
|
return _SourceName; }
|
|
}
|
|
public override string ToString(){
|
|
string ret = "[PaperSource {0} Kind={1}]";
|
|
return String.Format(ret, this.SourceName, this.Kind);
|
|
}
|
|
}
|
|
}
|