Update help. Update IP-Address entry

This commit is contained in:
Tim Young 2015-11-20 15:21:34 -05:00
parent 2ae374e7d0
commit 4ec3e86f17
4 changed files with 1668 additions and 11533 deletions

View File

@ -25,7 +25,7 @@
<InstallUrl>http://tyounglightsys.ddns.info/EduNetworkBuilder/v1/</InstallUrl> <InstallUrl>http://tyounglightsys.ddns.info/EduNetworkBuilder/v1/</InstallUrl>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish> <CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.htm</WebPage> <WebPage>publish.htm</WebPage>
<ApplicationRevision>24</ApplicationRevision> <ApplicationRevision>25</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust> <UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted> <PublishWizardCompleted>true</PublishWizardCompleted>

View File

@ -28,7 +28,6 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.Icon = Properties.Resources.NBIco;
this.lblIP = new System.Windows.Forms.Label(); this.lblIP = new System.Windows.Forms.Label();
this.lblNetmask = new System.Windows.Forms.Label(); this.lblNetmask = new System.Windows.Forms.Label();
this.lblGateway = new System.Windows.Forms.Label(); this.lblGateway = new System.Windows.Forms.Label();
@ -41,61 +40,68 @@
// //
// lblIP // lblIP
// //
this.lblIP.Location = new System.Drawing.Point(19, 13); this.lblIP.Location = new System.Drawing.Point(14, 11);
this.lblIP.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblIP.Name = "lblIP"; this.lblIP.Name = "lblIP";
this.lblIP.Size = new System.Drawing.Size(60, 17); this.lblIP.Size = new System.Drawing.Size(56, 14);
this.lblIP.TabIndex = 0; this.lblIP.TabIndex = 0;
this.lblIP.Text = "IP"; this.lblIP.Text = "IP";
this.lblIP.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.lblIP.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// lblNetmask // lblNetmask
// //
this.lblNetmask.Location = new System.Drawing.Point(16, 45); this.lblNetmask.Location = new System.Drawing.Point(12, 37);
this.lblNetmask.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblNetmask.Name = "lblNetmask"; this.lblNetmask.Name = "lblNetmask";
this.lblNetmask.Size = new System.Drawing.Size(63, 17); this.lblNetmask.Size = new System.Drawing.Size(58, 14);
this.lblNetmask.TabIndex = 1; this.lblNetmask.TabIndex = 1;
this.lblNetmask.Text = "Netmask"; this.lblNetmask.Text = "Netmask";
this.lblNetmask.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.lblNetmask.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// lblGateway // lblGateway
// //
this.lblGateway.Location = new System.Drawing.Point(16, 74); this.lblGateway.Location = new System.Drawing.Point(12, 60);
this.lblGateway.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblGateway.Name = "lblGateway"; this.lblGateway.Name = "lblGateway";
this.lblGateway.Size = new System.Drawing.Size(63, 17); this.lblGateway.Size = new System.Drawing.Size(58, 14);
this.lblGateway.TabIndex = 2; this.lblGateway.TabIndex = 2;
this.lblGateway.Text = "Gateway"; this.lblGateway.Text = "Gateway";
this.lblGateway.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.lblGateway.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
// //
// tbIPAddress // tbIPAddress
// //
this.tbIPAddress.Location = new System.Drawing.Point(86, 13); this.tbIPAddress.Location = new System.Drawing.Point(85, 11);
this.tbIPAddress.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbIPAddress.Name = "tbIPAddress"; this.tbIPAddress.Name = "tbIPAddress";
this.tbIPAddress.Size = new System.Drawing.Size(128, 22); this.tbIPAddress.Size = new System.Drawing.Size(97, 20);
this.tbIPAddress.TabIndex = 3; this.tbIPAddress.TabIndex = 3;
this.tbIPAddress.Validating += new System.ComponentModel.CancelEventHandler(this.tbIPAddress_Validating); this.tbIPAddress.Validating += new System.ComponentModel.CancelEventHandler(this.tbIPAddress_Validating);
// //
// tbNetmask // tbNetmask
// //
this.tbNetmask.Location = new System.Drawing.Point(86, 42); this.tbNetmask.Location = new System.Drawing.Point(85, 34);
this.tbNetmask.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbNetmask.Name = "tbNetmask"; this.tbNetmask.Name = "tbNetmask";
this.tbNetmask.Size = new System.Drawing.Size(128, 22); this.tbNetmask.Size = new System.Drawing.Size(97, 20);
this.tbNetmask.TabIndex = 4; this.tbNetmask.TabIndex = 4;
this.tbNetmask.Validating += new System.ComponentModel.CancelEventHandler(this.tbNetmask_Validating); this.tbNetmask.Validating += new System.ComponentModel.CancelEventHandler(this.tbNetmask_Validating);
// //
// tbGateway // tbGateway
// //
this.tbGateway.Location = new System.Drawing.Point(86, 71); this.tbGateway.Location = new System.Drawing.Point(85, 58);
this.tbGateway.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.tbGateway.Name = "tbGateway"; this.tbGateway.Name = "tbGateway";
this.tbGateway.Size = new System.Drawing.Size(128, 22); this.tbGateway.Size = new System.Drawing.Size(97, 20);
this.tbGateway.TabIndex = 5; this.tbGateway.TabIndex = 5;
this.tbGateway.Validating += new System.ComponentModel.CancelEventHandler(this.tbGateway_Validating); this.tbGateway.Validating += new System.ComponentModel.CancelEventHandler(this.tbGateway_Validating);
// //
// btnCancel // btnCancel
// //
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(19, 120); this.btnCancel.Location = new System.Drawing.Point(14, 98);
this.btnCancel.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnCancel.Name = "btnCancel"; this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.Size = new System.Drawing.Size(56, 19);
this.btnCancel.TabIndex = 6; this.btnCancel.TabIndex = 6;
this.btnCancel.Text = "Cancel"; this.btnCancel.Text = "Cancel";
this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.UseVisualStyleBackColor = true;
@ -103,9 +109,10 @@
// //
// btnOK // btnOK
// //
this.btnOK.Location = new System.Drawing.Point(139, 120); this.btnOK.Location = new System.Drawing.Point(125, 98);
this.btnOK.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.btnOK.Name = "btnOK"; this.btnOK.Name = "btnOK";
this.btnOK.Size = new System.Drawing.Size(75, 23); this.btnOK.Size = new System.Drawing.Size(56, 19);
this.btnOK.TabIndex = 7; this.btnOK.TabIndex = 7;
this.btnOK.Text = "OK"; this.btnOK.Text = "OK";
this.btnOK.UseVisualStyleBackColor = true; this.btnOK.UseVisualStyleBackColor = true;
@ -114,10 +121,10 @@
// IPAddressEntry // IPAddressEntry
// //
this.AcceptButton = this.btnOK; this.AcceptButton = this.btnOK;
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel; this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(226, 163); this.ClientSize = new System.Drawing.Size(195, 132);
this.Controls.Add(this.btnOK); this.Controls.Add(this.btnOK);
this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnCancel);
this.Controls.Add(this.tbGateway); this.Controls.Add(this.tbGateway);
@ -127,6 +134,8 @@
this.Controls.Add(this.lblNetmask); this.Controls.Add(this.lblNetmask);
this.Controls.Add(this.lblIP); this.Controls.Add(this.lblIP);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = global::EduNetworkBuilder.Properties.Resources.NBIco;
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "IPAddressEntry"; this.Name = "IPAddressEntry";
this.Text = "IP-Address Entry"; this.Text = "IP-Address Entry";
this.ResumeLayout(false); this.ResumeLayout(false);

View File

@ -62,6 +62,7 @@ namespace EduNetworkBuilder
tbGateway.Visible = false; //This just confuses people tbGateway.Visible = false; //This just confuses people
tbIPAddress.Enabled = true; tbIPAddress.Enabled = true;
tbNetmask.Enabled = false; tbNetmask.Enabled = false;
lblGateway.Visible = false;
break; break;
case IPAddressType.ip: case IPAddressType.ip:
tbGateway.Enabled = false; tbGateway.Enabled = false;

File diff suppressed because it is too large Load Diff