| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 32 | kaklik | /********************************************************************* |
| 2 | * |
||
| 3 | * Advanced Options dialog for MPFS21 |
||
| 4 | * |
||
| 5 | ********************************************************************* |
||
| 6 | * FileName: AdvancedOptions.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 AdvancedOptions |
||
| 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 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AdvancedOptions)); |
||
| 72 | this.label1 = new System.Windows.Forms.Label(); |
||
| 73 | this.radMPFS2 = new System.Windows.Forms.RadioButton(); |
||
| 74 | this.radMPFSClassic = new System.Windows.Forms.RadioButton(); |
||
| 75 | this.label2 = new System.Windows.Forms.Label(); |
||
| 76 | this.label3 = new System.Windows.Forms.Label(); |
||
| 77 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); |
||
| 78 | this.txtNoCompress = new System.Windows.Forms.TextBox(); |
||
| 79 | this.txtDynamicFiles = new System.Windows.Forms.TextBox(); |
||
| 80 | this.txtReserveBlockClassic = new System.Windows.Forms.TextBox(); |
||
| 81 | this.btnOK = new System.Windows.Forms.Button(); |
||
| 82 | this.btnDefaults = new System.Windows.Forms.Button(); |
||
| 83 | this.btnCancel = new System.Windows.Forms.Button(); |
||
| 84 | this.label4 = new System.Windows.Forms.Label(); |
||
| 85 | this.label5 = new System.Windows.Forms.Label(); |
||
| 86 | this.pnlMPFS2 = new System.Windows.Forms.Panel(); |
||
| 87 | this.label6 = new System.Windows.Forms.Label(); |
||
| 88 | this.pnlMPFSClassic = new System.Windows.Forms.Panel(); |
||
| 89 | this.label7 = new System.Windows.Forms.Label(); |
||
| 90 | this.pnlMPFS2.SuspendLayout(); |
||
| 91 | this.pnlMPFSClassic.SuspendLayout(); |
||
| 92 | this.SuspendLayout(); |
||
| 93 | // |
||
| 94 | // label1 |
||
| 95 | // |
||
| 96 | this.label1.AutoSize = true; |
||
| 97 | this.label1.Location = new System.Drawing.Point(12, 9); |
||
| 98 | this.label1.Margin = new System.Windows.Forms.Padding(3, 10, 3, 0); |
||
| 99 | this.label1.Name = "label1"; |
||
| 100 | this.label1.Size = new System.Drawing.Size(77, 13); |
||
| 101 | this.label1.TabIndex = 0; |
||
| 102 | this.label1.Text = "Output Format:"; |
||
| 103 | // |
||
| 104 | // radMPFS2 |
||
| 105 | // |
||
| 106 | this.radMPFS2.AutoSize = true; |
||
| 107 | this.radMPFS2.Location = new System.Drawing.Point(58, 25); |
||
| 108 | this.radMPFS2.Name = "radMPFS2"; |
||
| 109 | this.radMPFS2.Size = new System.Drawing.Size(60, 17); |
||
| 110 | this.radMPFS2.TabIndex = 1; |
||
| 111 | this.radMPFS2.TabStop = true; |
||
| 112 | this.radMPFS2.Text = "MPFS2"; |
||
| 113 | this.toolTip1.SetToolTip(this.radMPFS2, "Build an MPFS2 image that is compatible with the HTTP2 web server."); |
||
| 114 | this.radMPFS2.UseVisualStyleBackColor = true; |
||
| 115 | this.radMPFS2.CheckedChanged += new System.EventHandler(this.radMPFS2_CheckedChanged); |
||
| 116 | // |
||
| 117 | // radMPFSClassic |
||
| 118 | // |
||
| 119 | this.radMPFSClassic.AutoSize = true; |
||
| 120 | this.radMPFSClassic.Location = new System.Drawing.Point(147, 25); |
||
| 121 | this.radMPFSClassic.Name = "radMPFSClassic"; |
||
| 122 | this.radMPFSClassic.Size = new System.Drawing.Size(90, 17); |
||
| 123 | this.radMPFSClassic.TabIndex = 2; |
||
| 124 | this.radMPFSClassic.TabStop = true; |
||
| 125 | this.radMPFSClassic.Text = "MPFS Classic"; |
||
| 126 | this.toolTip1.SetToolTip(this.radMPFSClassic, "Build a classic MPFS image that is compatible with the original HTTP web server."); |
||
| 127 | this.radMPFSClassic.UseVisualStyleBackColor = true; |
||
| 128 | // |
||
| 129 | // label2 |
||
| 130 | // |
||
| 131 | this.label2.AutoSize = true; |
||
| 132 | this.label2.Location = new System.Drawing.Point(3, 3); |
||
| 133 | this.label2.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); |
||
| 134 | this.label2.Name = "label2"; |
||
| 135 | this.label2.Size = new System.Drawing.Size(75, 13); |
||
| 136 | this.label2.TabIndex = 3; |
||
| 137 | this.label2.Text = "Dynamic Files:"; |
||
| 138 | // |
||
| 139 | // label3 |
||
| 140 | // |
||
| 141 | this.label3.AutoSize = true; |
||
| 142 | this.label3.Location = new System.Drawing.Point(3, 49); |
||
| 143 | this.label3.Margin = new System.Windows.Forms.Padding(3, 7, 3, 0); |
||
| 144 | this.label3.Name = "label3"; |
||
| 145 | this.label3.Size = new System.Drawing.Size(93, 13); |
||
| 146 | this.label3.TabIndex = 4; |
||
| 147 | this.label3.Text = "Do Not Compress:"; |
||
| 148 | // |
||
| 149 | // toolTip1 |
||
| 150 | // |
||
| 151 | this.toolTip1.AutoPopDelay = 10000; |
||
| 152 | this.toolTip1.InitialDelay = 500; |
||
| 153 | this.toolTip1.IsBalloon = true; |
||
| 154 | this.toolTip1.ReshowDelay = 100; |
||
| 155 | this.toolTip1.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info; |
||
| 156 | this.toolTip1.ToolTipTitle = "Advanced Settings Help"; |
||
| 157 | // |
||
| 158 | // txtNoCompress |
||
| 159 | // |
||
| 160 | this.txtNoCompress.Location = new System.Drawing.Point(6, 65); |
||
| 161 | this.txtNoCompress.Name = "txtNoCompress"; |
||
| 162 | this.txtNoCompress.Size = new System.Drawing.Size(242, 20); |
||
| 163 | this.txtNoCompress.TabIndex = 6; |
||
| 164 | this.txtNoCompress.Text = "*.inc, snmp.bib"; |
||
| 165 | this.toolTip1.SetToolTip(this.txtNoCompress, resources.GetString("txtNoCompress.ToolTip")); |
||
| 166 | // |
||
| 167 | // txtDynamicFiles |
||
| 168 | // |
||
| 169 | this.txtDynamicFiles.Location = new System.Drawing.Point(6, 19); |
||
| 170 | this.txtDynamicFiles.Name = "txtDynamicFiles"; |
||
| 171 | this.txtDynamicFiles.Size = new System.Drawing.Size(242, 20); |
||
| 172 | this.txtDynamicFiles.TabIndex = 4; |
||
| 173 | this.txtDynamicFiles.Text = "*.htm, *.html, *.cgi, *.xml"; |
||
| 174 | this.toolTip1.SetToolTip(this.txtDynamicFiles, "These files will be searched for\r\ndynamic variables and indexed for \r\nyour applic" + |
||
| 175 | "ation. Enter file names or\r\nextensions, separated by commas."); |
||
| 176 | // |
||
| 177 | // txtReserveBlockClassic |
||
| 178 | // |
||
| 179 | this.txtReserveBlockClassic.Location = new System.Drawing.Point(29, 37); |
||
| 180 | this.txtReserveBlockClassic.Name = "txtReserveBlockClassic"; |
||
| 181 | this.txtReserveBlockClassic.Size = new System.Drawing.Size(50, 20); |
||
| 182 | this.txtReserveBlockClassic.TabIndex = 3; |
||
| 183 | this.toolTip1.SetToolTip(this.txtReserveBlockClassic, "The MPFS image will begin at this address in your external storage. Memory befor" + |
||
| 184 | "e this address will be reserved for your own application\'s use."); |
||
| 185 | // |
||
| 186 | // btnOK |
||
| 187 | // |
||
| 188 | this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; |
||
| 189 | this.btnOK.Location = new System.Drawing.Point(12, 174); |
||
| 190 | this.btnOK.Margin = new System.Windows.Forms.Padding(3, 10, 3, 3); |
||
| 191 | this.btnOK.Name = "btnOK"; |
||
| 192 | this.btnOK.Size = new System.Drawing.Size(75, 23); |
||
| 193 | this.btnOK.TabIndex = 7; |
||
| 194 | this.btnOK.Text = "OK"; |
||
| 195 | this.btnOK.UseVisualStyleBackColor = true; |
||
| 196 | this.btnOK.Click += new System.EventHandler(this.btnOK_Click); |
||
| 197 | // |
||
| 198 | // btnDefaults |
||
| 199 | // |
||
| 200 | this.btnDefaults.Location = new System.Drawing.Point(103, 174); |
||
| 201 | this.btnDefaults.Name = "btnDefaults"; |
||
| 202 | this.btnDefaults.Size = new System.Drawing.Size(75, 23); |
||
| 203 | this.btnDefaults.TabIndex = 8; |
||
| 204 | this.btnDefaults.Text = "Defaults"; |
||
| 205 | this.btnDefaults.UseVisualStyleBackColor = true; |
||
| 206 | this.btnDefaults.Click += new System.EventHandler(this.btnDefaults_Click); |
||
| 207 | // |
||
| 208 | // btnCancel |
||
| 209 | // |
||
| 210 | this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; |
||
| 211 | this.btnCancel.Location = new System.Drawing.Point(194, 174); |
||
| 212 | this.btnCancel.Name = "btnCancel"; |
||
| 213 | this.btnCancel.Size = new System.Drawing.Size(75, 23); |
||
| 214 | this.btnCancel.TabIndex = 9; |
||
| 215 | this.btnCancel.Text = "Cancel"; |
||
| 216 | this.btnCancel.UseVisualStyleBackColor = true; |
||
| 217 | // |
||
| 218 | // label4 |
||
| 219 | // |
||
| 220 | this.label4.AutoSize = true; |
||
| 221 | this.label4.Location = new System.Drawing.Point(26, 21); |
||
| 222 | this.label4.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0); |
||
| 223 | this.label4.Name = "label4"; |
||
| 224 | this.label4.Size = new System.Drawing.Size(80, 13); |
||
| 225 | this.label4.TabIndex = 10; |
||
| 226 | this.label4.Text = "Reserve Block:"; |
||
| 227 | // |
||
| 228 | // label5 |
||
| 229 | // |
||
| 230 | this.label5.AutoSize = true; |
||
| 231 | this.label5.Location = new System.Drawing.Point(82, 40); |
||
| 232 | this.label5.Margin = new System.Windows.Forms.Padding(0, 0, 3, 0); |
||
| 233 | this.label5.Name = "label5"; |
||
| 234 | this.label5.Size = new System.Drawing.Size(32, 13); |
||
| 235 | this.label5.TabIndex = 12; |
||
| 236 | this.label5.Text = "bytes"; |
||
| 237 | // |
||
| 238 | // pnlMPFS2 |
||
| 239 | // |
||
| 240 | this.pnlMPFS2.Controls.Add(this.label6); |
||
| 241 | this.pnlMPFS2.Controls.Add(this.label2); |
||
| 242 | this.pnlMPFS2.Controls.Add(this.txtDynamicFiles); |
||
| 243 | this.pnlMPFS2.Controls.Add(this.label3); |
||
| 244 | this.pnlMPFS2.Controls.Add(this.txtNoCompress); |
||
| 245 | this.pnlMPFS2.Location = new System.Drawing.Point(12, 50); |
||
| 246 | this.pnlMPFS2.Name = "pnlMPFS2"; |
||
| 247 | this.pnlMPFS2.Size = new System.Drawing.Size(257, 111); |
||
| 248 | this.pnlMPFS2.TabIndex = 13; |
||
| 249 | // |
||
| 250 | // label6 |
||
| 251 | // |
||
| 252 | this.label6.AutoSize = true; |
||
| 253 | this.label6.Location = new System.Drawing.Point(3, 95); |
||
| 254 | this.label6.Margin = new System.Windows.Forms.Padding(3, 7, 3, 0); |
||
| 255 | this.label6.Name = "label6"; |
||
| 256 | this.label6.Size = new System.Drawing.Size(245, 13); |
||
| 257 | this.label6.TabIndex = 7; |
||
| 258 | this.label6.Text = "(Reserve block is only configured in TCPIPConfig.)"; |
||
| 259 | // |
||
| 260 | // pnlMPFSClassic |
||
| 261 | // |
||
| 262 | this.pnlMPFSClassic.Controls.Add(this.label7); |
||
| 263 | this.pnlMPFSClassic.Controls.Add(this.label4); |
||
| 264 | this.pnlMPFSClassic.Controls.Add(this.txtReserveBlockClassic); |
||
| 265 | this.pnlMPFSClassic.Controls.Add(this.label5); |
||
| 266 | this.pnlMPFSClassic.Location = new System.Drawing.Point(12, 48); |
||
| 267 | this.pnlMPFSClassic.Name = "pnlMPFSClassic"; |
||
| 268 | this.pnlMPFSClassic.Size = new System.Drawing.Size(257, 110); |
||
| 269 | this.pnlMPFSClassic.TabIndex = 14; |
||
| 270 | // |
||
| 271 | // label7 |
||
| 272 | // |
||
| 273 | this.label7.AutoSize = true; |
||
| 274 | this.label7.Location = new System.Drawing.Point(3, 97); |
||
| 275 | this.label7.Margin = new System.Windows.Forms.Padding(3, 7, 3, 0); |
||
| 276 | this.label7.Name = "label7"; |
||
| 277 | this.label7.Size = new System.Drawing.Size(215, 13); |
||
| 278 | this.label7.TabIndex = 13; |
||
| 279 | this.label7.Text = "(Reserve block MUST match TCPIPConfig.)"; |
||
| 280 | // |
||
| 281 | // AdvancedOptions |
||
| 282 | // |
||
| 283 | this.AcceptButton = this.btnOK; |
||
| 284 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
||
| 285 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
||
| 286 | this.CancelButton = this.btnCancel; |
||
| 287 | this.ClientSize = new System.Drawing.Size(280, 207); |
||
| 288 | this.Controls.Add(this.pnlMPFSClassic); |
||
| 289 | this.Controls.Add(this.pnlMPFS2); |
||
| 290 | this.Controls.Add(this.btnCancel); |
||
| 291 | this.Controls.Add(this.btnDefaults); |
||
| 292 | this.Controls.Add(this.btnOK); |
||
| 293 | this.Controls.Add(this.radMPFSClassic); |
||
| 294 | this.Controls.Add(this.radMPFS2); |
||
| 295 | this.Controls.Add(this.label1); |
||
| 296 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; |
||
| 297 | this.MaximizeBox = false; |
||
| 298 | this.MinimizeBox = false; |
||
| 299 | this.Name = "AdvancedOptions"; |
||
| 300 | this.ShowIcon = false; |
||
| 301 | this.ShowInTaskbar = false; |
||
| 302 | this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; |
||
| 303 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; |
||
| 304 | this.Text = "Advanced Settings"; |
||
| 305 | this.Load += new System.EventHandler(this.AdvancedOptions_Load); |
||
| 306 | this.pnlMPFS2.ResumeLayout(false); |
||
| 307 | this.pnlMPFS2.PerformLayout(); |
||
| 308 | this.pnlMPFSClassic.ResumeLayout(false); |
||
| 309 | this.pnlMPFSClassic.PerformLayout(); |
||
| 310 | this.ResumeLayout(false); |
||
| 311 | this.PerformLayout(); |
||
| 312 | |||
| 313 | } |
||
| 314 | |||
| 315 | #endregion |
||
| 316 | |||
| 317 | private System.Windows.Forms.Label label1; |
||
| 318 | private System.Windows.Forms.RadioButton radMPFS2; |
||
| 319 | private System.Windows.Forms.RadioButton radMPFSClassic; |
||
| 320 | private System.Windows.Forms.Label label2; |
||
| 321 | private System.Windows.Forms.Label label3; |
||
| 322 | private System.Windows.Forms.TextBox txtDynamicFiles; |
||
| 323 | private System.Windows.Forms.TextBox txtNoCompress; |
||
| 324 | private System.Windows.Forms.ToolTip toolTip1; |
||
| 325 | private System.Windows.Forms.Button btnOK; |
||
| 326 | private System.Windows.Forms.Button btnDefaults; |
||
| 327 | private System.Windows.Forms.Button btnCancel; |
||
| 328 | private System.Windows.Forms.Label label4; |
||
| 329 | private System.Windows.Forms.Label label5; |
||
| 330 | private System.Windows.Forms.TextBox txtReserveBlockClassic; |
||
| 331 | private System.Windows.Forms.Panel pnlMPFS2; |
||
| 332 | private System.Windows.Forms.Label label6; |
||
| 333 | private System.Windows.Forms.Panel pnlMPFSClassic; |
||
| 334 | private System.Windows.Forms.Label label7; |
||
| 335 | } |
||
| 336 | } |
Powered by WebSVN v2.8.3