[1246] | 1 | namespace PrintPreviewDemo {
|
---|
| 2 | partial class Form1 {
|
---|
| 3 | /// <summary>
|
---|
| 4 | /// Required designer variable.
|
---|
| 5 | /// </summary>
|
---|
| 6 | private System.ComponentModel.IContainer components = null;
|
---|
| 7 |
|
---|
| 8 | /// <summary>
|
---|
| 9 | /// Clean up any resources being used.
|
---|
| 10 | /// </summary>
|
---|
| 11 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
---|
| 12 | protected override void Dispose(bool disposing) {
|
---|
| 13 | if (disposing && (components != null)) {
|
---|
| 14 | components.Dispose();
|
---|
| 15 | }
|
---|
| 16 | base.Dispose(disposing);
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | #region Windows Form Designer generated code
|
---|
| 20 |
|
---|
| 21 | /// <summary>
|
---|
| 22 | /// Required method for Designer support - do not modify
|
---|
| 23 | /// the contents of this method with the code editor.
|
---|
| 24 | /// </summary>
|
---|
| 25 | private void InitializeComponent() {
|
---|
| 26 | this.btnClassic = new System.Windows.Forms.Button();
|
---|
| 27 | this.btnNew = new System.Windows.Forms.Button();
|
---|
| 28 | this.btnTest = new System.Windows.Forms.Button();
|
---|
| 29 | this.groupBox1 = new System.Windows.Forms.GroupBox();
|
---|
| 30 | this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
---|
| 31 | this.chkPrinterSettingBeforePrint = new System.Windows.Forms.CheckBox();
|
---|
| 32 | this.chkShowPrinterSettings = new System.Windows.Forms.CheckBox();
|
---|
| 33 | this.chkShowPageSettings = new System.Windows.Forms.CheckBox();
|
---|
| 34 | this.btnNewAdditionalText = new System.Windows.Forms.Button();
|
---|
| 35 | this.label1 = new System.Windows.Forms.Label();
|
---|
| 36 | this.groupBox1.SuspendLayout();
|
---|
| 37 | this.SuspendLayout();
|
---|
| 38 | //
|
---|
| 39 | // btnClassic
|
---|
| 40 | //
|
---|
| 41 | this.btnClassic.Location = new System.Drawing.Point(12, 12);
|
---|
| 42 | this.btnClassic.Name = "btnClassic";
|
---|
| 43 | this.btnClassic.Size = new System.Drawing.Size(280, 23);
|
---|
| 44 | this.btnClassic.TabIndex = 1;
|
---|
| 45 | this.btnClassic.Text = "Classic Print Preview";
|
---|
| 46 | this.btnClassic.UseVisualStyleBackColor = true;
|
---|
| 47 | this.btnClassic.Click += new System.EventHandler(this.btnClassic_Click);
|
---|
| 48 | //
|
---|
| 49 | // btnNew
|
---|
| 50 | //
|
---|
| 51 | this.btnNew.Location = new System.Drawing.Point(12, 41);
|
---|
| 52 | this.btnNew.Name = "btnNew";
|
---|
| 53 | this.btnNew.Size = new System.Drawing.Size(280, 23);
|
---|
| 54 | this.btnNew.TabIndex = 3;
|
---|
| 55 | this.btnNew.Text = "New Preview (default options)";
|
---|
| 56 | this.btnNew.UseVisualStyleBackColor = true;
|
---|
| 57 | this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
|
---|
| 58 | //
|
---|
| 59 | // btnTest
|
---|
| 60 | //
|
---|
| 61 | this.btnTest.Location = new System.Drawing.Point(211, 281);
|
---|
| 62 | this.btnTest.Name = "btnTest";
|
---|
| 63 | this.btnTest.Size = new System.Drawing.Size(57, 23);
|
---|
| 64 | this.btnTest.TabIndex = 4;
|
---|
| 65 | this.btnTest.Text = "Test";
|
---|
| 66 | this.btnTest.UseVisualStyleBackColor = true;
|
---|
| 67 | this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
|
---|
| 68 | //
|
---|
| 69 | // groupBox1
|
---|
| 70 | //
|
---|
| 71 | this.groupBox1.Controls.Add(this.label1);
|
---|
| 72 | this.groupBox1.Controls.Add(this.propertyGrid1);
|
---|
| 73 | this.groupBox1.Controls.Add(this.chkPrinterSettingBeforePrint);
|
---|
| 74 | this.groupBox1.Controls.Add(this.chkShowPrinterSettings);
|
---|
| 75 | this.groupBox1.Controls.Add(this.chkShowPageSettings);
|
---|
| 76 | this.groupBox1.Controls.Add(this.btnTest);
|
---|
| 77 | this.groupBox1.Location = new System.Drawing.Point(12, 122);
|
---|
| 78 | this.groupBox1.Name = "groupBox1";
|
---|
| 79 | this.groupBox1.Size = new System.Drawing.Size(280, 313);
|
---|
| 80 | this.groupBox1.TabIndex = 5;
|
---|
| 81 | this.groupBox1.TabStop = false;
|
---|
| 82 | this.groupBox1.Text = "Test Options";
|
---|
| 83 | //
|
---|
| 84 | // propertyGrid1
|
---|
| 85 | //
|
---|
| 86 | this.propertyGrid1.HelpVisible = false;
|
---|
| 87 | this.propertyGrid1.Location = new System.Drawing.Point(6, 121);
|
---|
| 88 | this.propertyGrid1.Name = "propertyGrid1";
|
---|
| 89 | this.propertyGrid1.Size = new System.Drawing.Size(262, 154);
|
---|
| 90 | this.propertyGrid1.TabIndex = 11;
|
---|
| 91 | this.propertyGrid1.ToolbarVisible = false;
|
---|
| 92 | //
|
---|
| 93 | // chkPrinterSettingBeforePrint
|
---|
| 94 | //
|
---|
| 95 | this.chkPrinterSettingBeforePrint.AutoSize = true;
|
---|
| 96 | this.chkPrinterSettingBeforePrint.Checked = true;
|
---|
| 97 | this.chkPrinterSettingBeforePrint.CheckState = System.Windows.Forms.CheckState.Checked;
|
---|
| 98 | this.chkPrinterSettingBeforePrint.Location = new System.Drawing.Point(6, 65);
|
---|
| 99 | this.chkPrinterSettingBeforePrint.Name = "chkPrinterSettingBeforePrint";
|
---|
| 100 | this.chkPrinterSettingBeforePrint.Size = new System.Drawing.Size(224, 17);
|
---|
| 101 | this.chkPrinterSettingBeforePrint.TabIndex = 9;
|
---|
| 102 | this.chkPrinterSettingBeforePrint.Text = "Show \"printer settings \" dialog before print";
|
---|
| 103 | this.chkPrinterSettingBeforePrint.UseVisualStyleBackColor = true;
|
---|
| 104 | //
|
---|
| 105 | // chkShowPrinterSettings
|
---|
| 106 | //
|
---|
| 107 | this.chkShowPrinterSettings.AutoSize = true;
|
---|
| 108 | this.chkShowPrinterSettings.Location = new System.Drawing.Point(6, 42);
|
---|
| 109 | this.chkShowPrinterSettings.Name = "chkShowPrinterSettings";
|
---|
| 110 | this.chkShowPrinterSettings.Size = new System.Drawing.Size(170, 17);
|
---|
| 111 | this.chkShowPrinterSettings.TabIndex = 8;
|
---|
| 112 | this.chkShowPrinterSettings.Text = "Show \"printer settings \" button";
|
---|
| 113 | this.chkShowPrinterSettings.UseVisualStyleBackColor = true;
|
---|
| 114 | //
|
---|
| 115 | // chkShowPageSettings
|
---|
| 116 | //
|
---|
| 117 | this.chkShowPageSettings.AutoSize = true;
|
---|
| 118 | this.chkShowPageSettings.Checked = true;
|
---|
| 119 | this.chkShowPageSettings.CheckState = System.Windows.Forms.CheckState.Checked;
|
---|
| 120 | this.chkShowPageSettings.Location = new System.Drawing.Point(6, 19);
|
---|
| 121 | this.chkShowPageSettings.Name = "chkShowPageSettings";
|
---|
| 122 | this.chkShowPageSettings.Size = new System.Drawing.Size(165, 17);
|
---|
| 123 | this.chkShowPageSettings.TabIndex = 7;
|
---|
| 124 | this.chkShowPageSettings.Text = "Show \"page settings \" button";
|
---|
| 125 | this.chkShowPageSettings.UseVisualStyleBackColor = true;
|
---|
| 126 | //
|
---|
| 127 | // btnNewAdditionalText
|
---|
| 128 | //
|
---|
| 129 | this.btnNewAdditionalText.Location = new System.Drawing.Point(12, 70);
|
---|
| 130 | this.btnNewAdditionalText.Name = "btnNewAdditionalText";
|
---|
| 131 | this.btnNewAdditionalText.Size = new System.Drawing.Size(280, 23);
|
---|
| 132 | this.btnNewAdditionalText.TabIndex = 6;
|
---|
| 133 | this.btnNewAdditionalText.Text = "New Preview (Additional text demo)";
|
---|
| 134 | this.btnNewAdditionalText.UseVisualStyleBackColor = true;
|
---|
| 135 | this.btnNewAdditionalText.Click += new System.EventHandler(this.btnNewAdditionalText_Click);
|
---|
| 136 | //
|
---|
| 137 | // label1
|
---|
| 138 | //
|
---|
| 139 | this.label1.AutoSize = true;
|
---|
| 140 | this.label1.Location = new System.Drawing.Point(6, 105);
|
---|
| 141 | this.label1.Name = "label1";
|
---|
| 142 | this.label1.Size = new System.Drawing.Size(67, 13);
|
---|
| 143 | this.label1.TabIndex = 12;
|
---|
| 144 | this.label1.Text = "Text Options";
|
---|
| 145 | //
|
---|
| 146 | // Form1
|
---|
| 147 | //
|
---|
| 148 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
---|
| 149 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
---|
| 150 | this.ClientSize = new System.Drawing.Size(312, 452);
|
---|
| 151 | this.Controls.Add(this.btnNewAdditionalText);
|
---|
| 152 | this.Controls.Add(this.groupBox1);
|
---|
| 153 | this.Controls.Add(this.btnClassic);
|
---|
| 154 | this.Controls.Add(this.btnNew);
|
---|
| 155 | this.Name = "Form1";
|
---|
| 156 | this.Text = "Form1";
|
---|
| 157 | this.groupBox1.ResumeLayout(false);
|
---|
| 158 | this.groupBox1.PerformLayout();
|
---|
| 159 | this.ResumeLayout(false);
|
---|
| 160 |
|
---|
| 161 | }
|
---|
| 162 |
|
---|
| 163 | #endregion
|
---|
| 164 |
|
---|
| 165 | private System.Windows.Forms.Button btnClassic;
|
---|
| 166 | private System.Windows.Forms.Button btnNew;
|
---|
| 167 | private System.Windows.Forms.Button btnTest;
|
---|
| 168 | private System.Windows.Forms.GroupBox groupBox1;
|
---|
| 169 | private System.Windows.Forms.CheckBox chkShowPageSettings;
|
---|
| 170 | private System.Windows.Forms.CheckBox chkShowPrinterSettings;
|
---|
| 171 | private System.Windows.Forms.CheckBox chkPrinterSettingBeforePrint;
|
---|
| 172 | private System.Windows.Forms.PropertyGrid propertyGrid1;
|
---|
| 173 | private System.Windows.Forms.Button btnNewAdditionalText;
|
---|
| 174 | private System.Windows.Forms.Label label1;
|
---|
| 175 | }
|
---|
| 176 | }
|
---|
| 177 |
|
---|