Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
view FrmPreferences.Designer.cs @ 242:ea5cb50ebe5e
Fixes #384: Validation warnings don't get cleared when creating new armies
* Check whether army is valid when it changes (also means we validate on load as well as clearing on close)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 21 Jan 2012 16:51:07 +0000 |
parents | 4b96e6a6c999 |
children |
line wrap: on
line source
using IBBoard.Lang; namespace IBBoard.WarFoundry.GUI.WinForms { partial class FrmPreferences { /// <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); Translation.TranslationChanged -= new MethodInvoker(TranslateForm); } #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.preferenceSections = new System.Windows.Forms.TreeView(); this.languagesGroup = new System.Windows.Forms.GroupBox(); this.lblLanguage = new IBBoard.Windows.Forms.IBBLabel(); this.languageList = new System.Windows.Forms.ComboBox(); this.bttnOkay = new IBBoard.Windows.Forms.IBBButton(); this.bttnCancel = new IBBoard.Windows.Forms.IBBButton(); this.languagesGroup.SuspendLayout(); this.SuspendLayout(); // // preferenceSections // this.preferenceSections.Location = new System.Drawing.Point(12, 12); this.preferenceSections.Name = "preferenceSections"; this.preferenceSections.Size = new System.Drawing.Size(159, 340); this.preferenceSections.TabIndex = 0; // // languagesGroup // this.languagesGroup.Controls.Add(this.languageList); this.languagesGroup.Controls.Add(this.lblLanguage); this.languagesGroup.Location = new System.Drawing.Point(177, 12); this.languagesGroup.Name = "languagesGroup"; this.languagesGroup.Size = new System.Drawing.Size(436, 300); this.languagesGroup.TabIndex = 1; this.languagesGroup.TabStop = false; this.languagesGroup.Text = "languages"; // // lblLanguage // this.lblLanguage.Location = new System.Drawing.Point(6, 28); this.lblLanguage.Name = "lblLanguage"; this.lblLanguage.Size = new System.Drawing.Size(138, 23); this.lblLanguage.TabIndex = 0; this.lblLanguage.Text = "language:"; // // languageList // this.languageList.FormattingEnabled = true; this.languageList.Location = new System.Drawing.Point(150, 25); this.languageList.Name = "languageList"; this.languageList.Size = new System.Drawing.Size(121, 21); this.languageList.TabIndex = 1; // // bttnOkay // this.bttnOkay.Enabled = false; this.bttnOkay.Location = new System.Drawing.Point(538, 328); this.bttnOkay.Name = "bttnOkay"; this.bttnOkay.Size = new System.Drawing.Size(75, 23); this.bttnOkay.TabIndex = 2; this.bttnOkay.Text = "okay"; this.bttnOkay.UseVisualStyleBackColor = true; this.bttnOkay.Click += new System.EventHandler(this.bttnOkay_Click); // // bttnCancel // this.bttnCancel.Location = new System.Drawing.Point(457, 329); this.bttnCancel.Name = "bttnCancel"; this.bttnCancel.Size = new System.Drawing.Size(75, 23); this.bttnCancel.TabIndex = 3; this.bttnCancel.Text = "cancel"; this.bttnCancel.UseVisualStyleBackColor = true; this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click); // // FrmPreferences // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(625, 364); this.Controls.Add(this.bttnCancel); this.Controls.Add(this.bttnOkay); this.Controls.Add(this.languagesGroup); this.Controls.Add(this.preferenceSections); this.Name = "FrmPreferences"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "preferences"; this.languagesGroup.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.TreeView preferenceSections; private System.Windows.Forms.GroupBox languagesGroup; private System.Windows.Forms.ComboBox languageList; private IBBoard.Windows.Forms.IBBLabel lblLanguage; private IBBoard.Windows.Forms.IBBButton bttnOkay; private IBBoard.Windows.Forms.IBBButton bttnCancel; } }