Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /********************************************************************* |
2 | * |
||
3 | * Upload Settings dialog for MPFS21 |
||
4 | * |
||
5 | ********************************************************************* |
||
6 | * FileName: UploadSettings.cs |
||
7 | * Dependencies: Microsoft .NET Framework 2.0 |
||
8 | * Processor: x86 |
||
9 | * Complier: Microsoft Visual C# 2008 Express Edition |
||
10 | * Company: Microchip Technology, Inc. |
||
11 | * |
||
12 | * Software License Agreement |
||
13 | * |
||
14 | * This software is owned by Microchip Technology Inc. ("Microchip") |
||
15 | * and is supplied to you for use exclusively as described in the |
||
16 | * associated software agreement. This software is protected by |
||
17 | * software and other intellectual property laws. Any use in |
||
18 | * violation of the software license may subject the user to criminal |
||
19 | * sanctions as well as civil liability. Copyright 2008 Microchip |
||
20 | * Technology Inc. All rights reserved. |
||
21 | * |
||
22 | * |
||
23 | * THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT |
||
24 | * WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT |
||
25 | * LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A |
||
26 | * PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL |
||
27 | * MICROCHIP BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR |
||
28 | * CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF |
||
29 | * PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS |
||
30 | * BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE |
||
31 | * THEREOF), ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER |
||
32 | * SIMILAR COSTS, WHETHER ASSERTED ON THE BASIS OF CONTRACT, TORT |
||
33 | * (INCLUDING NEGLIGENCE), BREACH OF WARRANTY, OR OTHERWISE. |
||
34 | * |
||
35 | * |
||
36 | * Author Date Comment |
||
37 | *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
||
38 | * Elliott Wood 4/17/2008 Original |
||
39 | ********************************************************************/ |
||
40 | namespace MPFS21 |
||
41 | { |
||
42 | partial class UploadSettings |
||
43 | { |
||
44 | /// <summary> |
||
45 | /// Required designer variable. |
||
46 | /// </summary> |
||
47 | private System.ComponentModel.IContainer components = null; |
||
48 | |||
49 | /// <summary> |
||
50 | /// Clean up any resources being used. |
||
51 | /// </summary> |
||
52 | /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
||
53 | protected override void Dispose(bool disposing) |
||
54 | { |
||
55 | if (disposing && (components != null)) |
||
56 | { |
||
57 | components.Dispose(); |
||
58 | } |
||
59 | base.Dispose(disposing); |
||
60 | } |
||
61 | |||
62 | #region Windows Form Designer generated code |
||
63 | |||
64 | /// <summary> |
||
65 | /// Required method for Designer support - do not modify |
||
66 | /// the contents of this method with the code editor. |
||
67 | /// </summary> |
||
68 | private void InitializeComponent() |
||
69 | { |
||
70 | this.components = new System.ComponentModel.Container(); |
||
71 | this.label1 = new System.Windows.Forms.Label(); |
||
72 | this.txtUploadAddress = new System.Windows.Forms.TextBox(); |
||
73 | this.txtUploadPath = new System.Windows.Forms.TextBox(); |
||
74 | this.label2 = new System.Windows.Forms.Label(); |
||
75 | this.label3 = new System.Windows.Forms.Label(); |
||
76 | this.txtUploadUser = new System.Windows.Forms.TextBox(); |
||
77 | this.btnOK = new System.Windows.Forms.Button(); |
||
78 | this.btnDefaults = new System.Windows.Forms.Button(); |
||
79 | this.btnCancel = new System.Windows.Forms.Button(); |
||
80 | this.label4 = new System.Windows.Forms.Label(); |
||
81 | this.txtUploadPass = new System.Windows.Forms.MaskedTextBox(); |
||
82 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); |
||
83 | this.SuspendLayout(); |
||
84 | // |
||
85 | // label1 |
||
86 | // |
||
87 | this.label1.AutoSize = true; |
||
88 | this.label1.Location = new System.Drawing.Point(9, 14); |
||
89 | this.label1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0); |
||
90 | this.label1.Name = "label1"; |
||
91 | this.label1.Size = new System.Drawing.Size(85, 13); |
||
92 | this.label1.TabIndex = 0; |
||
93 | this.label1.Text = "Device Address:"; |
||
94 | // |
||
95 | // txtUploadAddress |
||
96 | // |
||
97 | this.txtUploadAddress.Location = new System.Drawing.Point(12, 30); |
||
98 | this.txtUploadAddress.Name = "txtUploadAddress"; |
||
99 | this.txtUploadAddress.Size = new System.Drawing.Size(252, 20); |
||
100 | this.txtUploadAddress.TabIndex = 1; |
||
101 | this.toolTip1.SetToolTip(this.txtUploadAddress, "Enter the network name by\r\nwhich the device can be \r\naccessed. NetBIOS hostnames" + |
||
102 | ",\r\nDNS names, and IP addresses\r\nare all acceptable."); |
||
103 | // |
||
104 | // txtUploadPath |
||
105 | // |
||
106 | this.txtUploadPath.Location = new System.Drawing.Point(12, 74); |
||
107 | this.txtUploadPath.Name = "txtUploadPath"; |
||
108 | this.txtUploadPath.Size = new System.Drawing.Size(252, 20); |
||
109 | this.txtUploadPath.TabIndex = 2; |
||
110 | this.toolTip1.SetToolTip(this.txtUploadPath, "Enter the upload path for MPFS2\r\nimages. The default is \"/mpfsuload\",\r\nand can b" + |
||
111 | "e changed in HTTP2.c."); |
||
112 | // |
||
113 | // label2 |
||
114 | // |
||
115 | this.label2.AutoSize = true; |
||
116 | this.label2.Location = new System.Drawing.Point(9, 58); |
||
117 | this.label2.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0); |
||
118 | this.label2.Name = "label2"; |
||
119 | this.label2.Size = new System.Drawing.Size(69, 13); |
||
120 | this.label2.TabIndex = 3; |
||
121 | this.label2.Text = "Upload Path:"; |
||
122 | // |
||
123 | // label3 |
||
124 | // |
||
125 | this.label3.AutoSize = true; |
||
126 | this.label3.Location = new System.Drawing.Point(9, 102); |
||
127 | this.label3.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0); |
||
128 | this.label3.Name = "label3"; |
||
129 | this.label3.Size = new System.Drawing.Size(63, 13); |
||
130 | this.label3.TabIndex = 4; |
||
131 | this.label3.Text = "User Name:"; |
||
132 | // |
||
133 | // txtUploadUser |
||
134 | // |
||
135 | this.txtUploadUser.Location = new System.Drawing.Point(12, 118); |
||
136 | this.txtUploadUser.Name = "txtUploadUser"; |
||
137 | this.txtUploadUser.Size = new System.Drawing.Size(116, 20); |
||
138 | this.txtUploadUser.TabIndex = 5; |
||
139 | this.toolTip1.SetToolTip(this.txtUploadUser, "Enter the user name to access the\r\nthe device. The default is \"admin\"."); |
||
140 | // |
||
141 | // btnOK |
||
142 | // |
||
143 | this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; |
||
144 | this.btnOK.Location = new System.Drawing.Point(12, 149); |
||
145 | this.btnOK.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3); |
||
146 | this.btnOK.Name = "btnOK"; |
||
147 | this.btnOK.Size = new System.Drawing.Size(75, 23); |
||
148 | this.btnOK.TabIndex = 7; |
||
149 | this.btnOK.Text = "OK"; |
||
150 | this.btnOK.UseVisualStyleBackColor = true; |
||
151 | this.btnOK.Click += new System.EventHandler(this.btnOK_Click); |
||
152 | // |
||
153 | // btnDefaults |
||
154 | // |
||
155 | this.btnDefaults.Location = new System.Drawing.Point(101, 149); |
||
156 | this.btnDefaults.Name = "btnDefaults"; |
||
157 | this.btnDefaults.Size = new System.Drawing.Size(75, 23); |
||
158 | this.btnDefaults.TabIndex = 8; |
||
159 | this.btnDefaults.Text = "Defaults"; |
||
160 | this.btnDefaults.UseVisualStyleBackColor = true; |
||
161 | this.btnDefaults.Click += new System.EventHandler(this.btnDefaults_Click); |
||
162 | // |
||
163 | // btnCancel |
||
164 | // |
||
165 | this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
||
166 | this.btnCancel.Location = new System.Drawing.Point(189, 149); |
||
167 | this.btnCancel.Name = "btnCancel"; |
||
168 | this.btnCancel.Size = new System.Drawing.Size(75, 23); |
||
169 | this.btnCancel.TabIndex = 9; |
||
170 | this.btnCancel.Text = "Cancel"; |
||
171 | this.btnCancel.UseVisualStyleBackColor = true; |
||
172 | // |
||
173 | // label4 |
||
174 | // |
||
175 | this.label4.AutoSize = true; |
||
176 | this.label4.Location = new System.Drawing.Point(145, 102); |
||
177 | this.label4.Margin = new System.Windows.Forms.Padding(3, 5, 3, 0); |
||
178 | this.label4.Name = "label4"; |
||
179 | this.label4.Size = new System.Drawing.Size(56, 13); |
||
180 | this.label4.TabIndex = 10; |
||
181 | this.label4.Text = "Password:"; |
||
182 | // |
||
183 | // txtUploadPass |
||
184 | // |
||
185 | this.txtUploadPass.Location = new System.Drawing.Point(148, 118); |
||
186 | this.txtUploadPass.Name = "txtUploadPass"; |
||
187 | this.txtUploadPass.Size = new System.Drawing.Size(116, 20); |
||
188 | this.txtUploadPass.TabIndex = 11; |
||
189 | this.toolTip1.SetToolTip(this.txtUploadPass, "Enter the password to access the\r\ndevice. The default is \"microchip\"."); |
||
190 | // |
||
191 | // toolTip1 |
||
192 | // |
||
193 | this.toolTip1.AutoPopDelay = 10000; |
||
194 | this.toolTip1.InitialDelay = 500; |
||
195 | this.toolTip1.IsBalloon = true; |
||
196 | this.toolTip1.ReshowDelay = 100; |
||
197 | this.toolTip1.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; |
||
198 | this.toolTip1.ToolTipTitle = "Upload Settings Help"; |
||
199 | // |
||
200 | // UploadSettings |
||
201 | // |
||
202 | this.AcceptButton = this.btnOK; |
||
203 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||
204 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||
205 | this.CancelButton = this.btnCancel; |
||
206 | this.ClientSize = new System.Drawing.Size(276, 184); |
||
207 | this.Controls.Add(this.txtUploadPass); |
||
208 | this.Controls.Add(this.label4); |
||
209 | this.Controls.Add(this.btnCancel); |
||
210 | this.Controls.Add(this.btnDefaults); |
||
211 | this.Controls.Add(this.btnOK); |
||
212 | this.Controls.Add(this.txtUploadUser); |
||
213 | this.Controls.Add(this.label3); |
||
214 | this.Controls.Add(this.label2); |
||
215 | this.Controls.Add(this.txtUploadPath); |
||
216 | this.Controls.Add(this.txtUploadAddress); |
||
217 | this.Controls.Add(this.label1); |
||
218 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
||
219 | this.MaximizeBox = false; |
||
220 | this.MinimizeBox = false; |
||
221 | this.Name = "UploadSettings"; |
||
222 | this.ShowIcon = false; |
||
223 | this.ShowInTaskbar = false; |
||
224 | this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; |
||
225 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
||
226 | this.Text = "Upload Settings"; |
||
227 | this.Load += new System.EventHandler(this.UploadSettings_Load); |
||
228 | this.ResumeLayout(false); |
||
229 | this.PerformLayout(); |
||
230 | |||
231 | } |
||
232 | |||
233 | #endregion |
||
234 | |||
235 | private System.Windows.Forms.Label label1; |
||
236 | private System.Windows.Forms.TextBox txtUploadAddress; |
||
237 | private System.Windows.Forms.TextBox txtUploadPath; |
||
238 | private System.Windows.Forms.Label label2; |
||
239 | private System.Windows.Forms.Label label3; |
||
240 | private System.Windows.Forms.TextBox txtUploadUser; |
||
241 | private System.Windows.Forms.Button btnOK; |
||
242 | private System.Windows.Forms.Button btnDefaults; |
||
243 | private System.Windows.Forms.Button btnCancel; |
||
244 | private System.Windows.Forms.Label label4; |
||
245 | private System.Windows.Forms.MaskedTextBox txtUploadPass; |
||
246 | private System.Windows.Forms.ToolTip toolTip1; |
||
247 | } |
||
248 | } |
Powered by WebSVN v2.8.3