forked from ArthurHub/HTML-Renderer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDemoForm.Designer.cs
More file actions
194 lines (185 loc) · 9.79 KB
/
Copy pathDemoForm.Designer.cs
File metadata and controls
194 lines (185 loc) · 9.79 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
using TheArtOfDev.HtmlRenderer.WinForms;
namespace TheArtOfDev.HtmlRenderer.Demo.WinForms
{
partial class DemoForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this._toolStrip = new System.Windows.Forms.ToolStrip();
this._openSampleFormTSB = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this._showIEViewTSSB = new System.Windows.Forms.ToolStripButton();
this._openInExternalViewTSB = new System.Windows.Forms.ToolStripButton();
this._useGeneratedHtmlTSB = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this._generateImageSTB = new System.Windows.Forms.ToolStripButton();
this._generatePdfTSB = new System.Windows.Forms.ToolStripButton();
this._runPerformanceTSB = new System.Windows.Forms.ToolStripButton();
this._mainControl = new HtmlRenderer.Demo.WinForms.MainControl();
this._toolStrip.SuspendLayout();
this.SuspendLayout();
//
// _toolStrip
//
this._toolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this._openSampleFormTSB,
this.toolStripSeparator3,
this._showIEViewTSSB,
this._openInExternalViewTSB,
this._useGeneratedHtmlTSB,
this.toolStripSeparator1,
this.toolStripSeparator2,
this._generateImageSTB,
this._generatePdfTSB,
this._runPerformanceTSB});
this._toolStrip.Location = new System.Drawing.Point(4, 4);
this._toolStrip.Name = "_toolStrip";
this._toolStrip.Size = new System.Drawing.Size(878, 25);
this._toolStrip.TabIndex = 1;
//
// _openSampleFormTSB
//
this._openSampleFormTSB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._openSampleFormTSB.Name = "_openSampleFormTSB";
this._openSampleFormTSB.Size = new System.Drawing.Size(113, 22);
this._openSampleFormTSB.Text = "Open Sample Form";
this._openSampleFormTSB.ToolTipText = "Open Sample Form to control HtmlPanel, HtmlLabel and HtmlTooltip properties.";
this._openSampleFormTSB.Click += new System.EventHandler(this.OnOpenSampleForm_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
//
// _showIEViewTSSB
//
this._showIEViewTSSB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._showIEViewTSSB.Name = "_showIEViewTSSB";
this._showIEViewTSSB.Size = new System.Drawing.Size(85, 22);
this._showIEViewTSSB.Text = "Show Browser";
this._showIEViewTSSB.ToolTipText = "Toggle if to show split view of HtmlPanel and WinForms WebBrowser control.";
this._showIEViewTSSB.Click += new System.EventHandler(this.OnShowIEView_ButtonClick);
//
// _openInExternalViewTSB
//
this._openInExternalViewTSB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._openInExternalViewTSB.Name = "_openInExternalViewTSB";
this._openInExternalViewTSB.Size = new System.Drawing.Size(84, 22);
this._openInExternalViewTSB.Text = "Open External";
this._openInExternalViewTSB.ToolTipText = "Open the HTML is the machine default browser, external to the demo application.";
this._openInExternalViewTSB.Click += new System.EventHandler(this.OnOpenInExternalView_Click);
//
// _useGeneratedHtmlTSB
//
this._useGeneratedHtmlTSB.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this._useGeneratedHtmlTSB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._useGeneratedHtmlTSB.Name = "_useGeneratedHtmlTSB";
this._useGeneratedHtmlTSB.Size = new System.Drawing.Size(23, 22);
this._useGeneratedHtmlTSB.Text = "Use Generated HTML";
this._useGeneratedHtmlTSB.ToolTipText = "Toggle is to use generated HTML from the HtmlPanel in Browser/External views.";
this._useGeneratedHtmlTSB.Click += new System.EventHandler(this.OnUseGeneratedHtml_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
//
// _generateImageSTB
//
this._generateImageSTB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._generateImageSTB.Name = "_generateImageSTB";
this._generateImageSTB.Size = new System.Drawing.Size(94, 22);
this._generateImageSTB.Text = "Generate Image";
this._generateImageSTB.ToolTipText = "Open generate image form to show the image generation capabilities of HTML Render" +
"er.";
this._generateImageSTB.Click += new System.EventHandler(this.OnGenerateImage_Click);
//
// _generatePdfTSB
//
this._generatePdfTSB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._generatePdfTSB.Name = "_generatePdfTSB";
this._generatePdfTSB.Size = new System.Drawing.Size(82, 22);
this._generatePdfTSB.Text = "Generate PDF";
this._generatePdfTSB.ToolTipText = "Generate PDF from the current HTML using PdfSharp library.";
this._generatePdfTSB.Click += new System.EventHandler(this.OnGeneratePdf_Click);
//
// _runPerformanceTSB
//
this._runPerformanceTSB.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
this._runPerformanceTSB.ImageTransparentColor = System.Drawing.Color.Magenta;
this._runPerformanceTSB.Name = "_runPerformanceTSB";
this._runPerformanceTSB.Size = new System.Drawing.Size(103, 22);
this._runPerformanceTSB.Text = "Run Performance";
this._runPerformanceTSB.Click += new System.EventHandler(this.OnRunPerformance_Click);
//
// _mainControl
//
this._mainControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this._mainControl.Location = new System.Drawing.Point(4, 32);
this._mainControl.Name = "_mainControl";
this._mainControl.Size = new System.Drawing.Size(878, 594);
this._mainControl.TabIndex = 2;
this._mainControl.UpdateLock = false;
this._mainControl.UseGeneratedHtml = false;
//
// DemoForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(255)))));
this.ClientSize = new System.Drawing.Size(886, 630);
this.Controls.Add(this._mainControl);
this.Controls.Add(this._toolStrip);
this.KeyPreview = true;
this.Name = "DemoForm";
this.Padding = new System.Windows.Forms.Padding(4);
this.Text = "HTML Renderer Demo";
this._toolStrip.ResumeLayout(false);
this._toolStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip _toolStrip;
private System.Windows.Forms.ToolStripButton _generatePdfTSB;
private MainControl _mainControl;
private System.Windows.Forms.ToolStripButton _openInExternalViewTSB;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton _runPerformanceTSB;
private System.Windows.Forms.ToolStripButton _openSampleFormTSB;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton _showIEViewTSSB;
private System.Windows.Forms.ToolStripButton _useGeneratedHtmlTSB;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton _generateImageSTB;
}
}