Bot i am
C++
code posted
created at 04 Jun 17:22, updated at 21 Jun 18:22
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
namespace InfoPathFormPrinterWebService { /// <summary> /// Represents a view in the InfoPath Form /// </summary> internal class View { private string viewName; private string viewCaption; private string printView; private string fileName; /// <summary> /// Initializes a new instance of the <see cref="View"/> class. /// </summary> /// <param name="viewName">Name of the view.</param> /// <param name="viewCaption">The view caption.</param> /// <param name="fileName">Name of the file.</param> internal View(string viewName, string viewCaption, string fileName) : this(viewName, viewCaption, string.Empty, fileName) { } /// <summary> /// Initializes a new instance of the <see cref="View"/> class. /// </summary> /// <param name="viewName">Name of the view.</param> /// <param name="viewCaption">The view caption.</param> /// <param name="printViewname">The print viewname.</param> /// <param name="fileName">Name of the file.</param> internal View(string viewName, string viewCaption, string printViewname, string fileName) { this.ViewName = viewName; this.ViewCaption = viewCaption; this.PrintViewName = printViewname; this.FileName = fileName; } /// <summary> /// Gets or sets the name of the view. /// </summary> /// <value>The name of the view.</value> internal string ViewName { get { return this.viewName; } private set { this.viewName = value; } } /// <summary> /// Gets or sets the view caption. /// </summary> /// <value>The view caption.</value> internal string ViewCaption { get { return this.viewCaption; } private set { this.viewCaption = value; } } /// <summary> /// Gets or sets the name of the print view. /// </summary> /// <value>The name of the print view.</value> internal string PrintViewName { get { return this.printView; } private set { this.printView = value; } } /// <summary> /// Gets or sets the name of the file. /// </summary> /// <value>The name of the file.</value> internal string FileName { get { return this.fileName; } private set { this.fileName = value; } } /// <summary> /// Gibt einen <see cref="T:System.String"></see> zurück, der den aktuellen <see cref="T:System.Object"></see> darstellt. /// </summary> /// <returns> /// Ein <see cref="T:System.String"></see>, der den aktuellen <see cref="T:System.Object"></see> darstellt. /// </returns> public override string ToString() { return "Name: " + this.ViewName + ", Caption: " + this.ViewCaption; } } } |
3.09 KB in 3 ms with coderay