diff --git a/EduNetworkBuilder/DeviceConfig.Designer.cs b/EduNetworkBuilder/DeviceConfig.Designer.cs index 831ffab..3912a9f 100644 --- a/EduNetworkBuilder/DeviceConfig.Designer.cs +++ b/EduNetworkBuilder/DeviceConfig.Designer.cs @@ -46,6 +46,7 @@ this.btnRoutes = new System.Windows.Forms.Button(); this.cbDHCP = new System.Windows.Forms.CheckBox(); this.btnDHCP = new System.Windows.Forms.Button(); + this.btn_vlan = new System.Windows.Forms.Button(); this.SuspendLayout(); // // tbHostname @@ -226,6 +227,15 @@ this.btnDHCP.UseVisualStyleBackColor = true; this.btnDHCP.Click += new System.EventHandler(this.btnDHCP_Click); // + // btn_vlan + // + this.btn_vlan.Location = new System.Drawing.Point(182, 80); + this.btn_vlan.Name = "btn_vlan"; + this.btn_vlan.Size = new System.Drawing.Size(75, 23); + this.btn_vlan.TabIndex = 21; + this.btn_vlan.Text = "VLANs"; + this.btn_vlan.UseVisualStyleBackColor = true; + // // DeviceConfig // this.AcceptButton = this.btnOK; @@ -233,6 +243,7 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(471, 365); + this.Controls.Add(this.btn_vlan); this.Controls.Add(this.btnDHCP); this.Controls.Add(this.cbDHCP); this.Controls.Add(this.btnRoutes); @@ -279,5 +290,6 @@ private System.Windows.Forms.Button btnRoutes; private System.Windows.Forms.CheckBox cbDHCP; private System.Windows.Forms.Button btnDHCP; + private System.Windows.Forms.Button btn_vlan; } } \ No newline at end of file diff --git a/EduNetworkBuilder/DeviceConfig.cs b/EduNetworkBuilder/DeviceConfig.cs index db340f5..8b542f1 100644 --- a/EduNetworkBuilder/DeviceConfig.cs +++ b/EduNetworkBuilder/DeviceConfig.cs @@ -43,20 +43,19 @@ namespace EduNetworkBuilder private void LanguagifyComponents() { - Text = NB.Translate("DC_lblHostname"); - Text = NB.Translate("DC_lblHelp"); - Text = NB.Translate("_Cancel"); - Text = NB.Translate("_OK"); - Text = NB.Translate("DC_btnAdd"); - Text = NB.Translate("DC_btnMinus"); - Text = NB.Translate("_Edit"); - Text = NB.Translate("_Edit"); - Text = NB.Translate("DC_btnMinus"); - Text = NB.Translate("DC_btnAdd"); - Text = NB.Translate("DC_btnGateway"); - Text = NB.Translate("DC_btnRoutes"); - Text = NB.Translate("DC_cbDHCP"); - Text = NB.Translate("_DHCP"); + lblHostname.Text = NB.Translate("DC_lblHostname"); + lblHelp.Text = NB.Translate("DC_lblHelp"); + btnCancel.Text = NB.Translate("_Cancel"); + btnOK.Text = NB.Translate("_OK"); + btnIfAdd.Text = NB.Translate("DC_btnAdd"); + btnIfMinus.Text = NB.Translate("DC_btnMinus"); + btnIfEdit.Text = NB.Translate("_Edit"); + btnIfMinus.Text = NB.Translate("DC_btnMinus"); + btnIfAdd.Text = NB.Translate("DC_btnAdd"); + btnGateway.Text = NB.Translate("DC_btnGateway"); + btnRoutes.Text = NB.Translate("DC_btnRoutes"); + cbDHCP.Text = NB.Translate("DC_cbDHCP"); + btnDHCP.Text = NB.Translate("_DHCP"); Text = NB.Translate("DC_Form"); }