private void MarkAllValid() { NameTextBox.ClearValue(Control.StyleProperty); LogoTextBox.ClearValue(Control.StyleProperty); StateComboBox.ClearValue(Control.StyleProperty); StadiumComboBox.ClearValue(Control.StyleProperty); }
private void NewCustomerRadForm_cs_Load(object sender, EventArgs e) { try { StateComboBox.DataSource = Enum.GetValues(typeof(CustomerState)); this.ProvinceIDComboBox.SelectionChangeCommitted += ProvinceIDComboBox_SelectionChangeCommitted; } catch (Exception ex) { MessageBox.Show(ex.Message); } if (_stateForm == StateForm.NEW) { try { this.CustomerCodeRadTextBox.Text = this._serviceCustomer.GetLastCustomerCode(); RegisterCustomerRadButton.Text = "Registrar"; this.Text = "Nuevo Cliente"; this.CustomerCodeRadTextBox.ReadOnly = false; this.DocumentIDRadTextBox.ReadOnly = false; } catch (Exception ex) { RadMessageBox.Show(ex.Message, "JOSIAS INDUSTRIAL SRL", MessageBoxButtons.OK, RadMessageIcon.Error); return; } } else if (_stateForm == StateForm.EDIT) { this.CustomerCodeRadTextBox.ReadOnly = true; this.DocumentIDRadTextBox.ReadOnly = true; RegisterCustomerRadButton.Text = "Actualizar"; this.Text = "Actualizar Cliente"; CustomerCodeRadTextBox.Text = CustomerToEdit.CustomerCode; CompanyNameRadTextBox.Text = CustomerToEdit.CompanyName; EmailRadTextBox.Text = CustomerToEdit.Email; ContactNameRadTextBox.Text = CustomerToEdit.ContactName; DocumentIDRadTextBox.Value = CustomerToEdit.DocumentID; Address1RadTextBox.Text = CustomerToEdit.Address1; Address2RadTextBox.Text = CustomerToEdit.Address2; Phone1RadMaskedEditBox.Value = CustomerToEdit.Phone1; CellphoneRadMaskedEditBox.Value = CustomerToEdit.Cellphone; BusinessRegistrationRadTextBox.Text = CustomerToEdit.BusinessRegistration; TaxRegistrationRadTextBox.Text = CustomerToEdit.TaxRegistration; StateComboBox.SelectedIndex = StateComboBox.FindStringExact(CustomerToEdit.State.ToString()); ProvinceIDComboBox.SelectedValue = CustomerToEdit.ProvinceID; ProvinceIDComboBox_SelectionChangeCommitted(null, null); MunicipalityIDComboBox.SelectedValue = CustomerToEdit.MunicipalityID; DateAdmissionRadDateTimePicker.Value = CustomerToEdit.DateAdmission.HasValue ? CustomerToEdit.DateAdmission.Value : DateTime.Now; BirthdayRadDateTimePicker.Value = CustomerToEdit.Birthday.HasValue ? CustomerToEdit.Birthday.Value : DateTime.Now; } }
private void MarkAllValid() { NameTextBox.ClearValue(Control.StyleProperty); CityTextBox.ClearValue(Control.StyleProperty); CapacityIntTextBox.ClearValue(Control.StyleProperty); CapacityNatTextBox.ClearValue(Control.StyleProperty); StateComboBox.ClearValue(Control.StyleProperty); TypeComboBox.ClearValue(Control.StyleProperty); }
private void ClearInputs() { MarkAllValid(); DebugIDLabel.ClearValue(Label.ContentProperty); NameTextBox.Clear(); CityTextBox.Clear(); CapacityIntTextBox.Clear(); CapacityNatTextBox.Clear(); StateComboBox.ClearValue(ComboBox.SelectedValueProperty); TypeComboBox.ClearValue(ComboBox.SelectedValueProperty); }
private void ClearInputs() { MarkAllValid(); DebugIDLabel.ClearValue(Label.ContentProperty); NameTextBox.Clear(); LogoTextBox.Clear(); StateComboBox.ClearValue(ComboBox.SelectedValueProperty); StadiumComboBox.ClearValue(ComboBox.SelectedValueProperty); GoalkeeperSlider.ClearValue(Slider.ValueProperty); DefenseSlider.ClearValue(Slider.ValueProperty); MidfieldSlider.ClearValue(Slider.ValueProperty); ForwardSlider.ClearValue(Slider.ValueProperty); }
private void InitializeComponent() { this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); this.yearTextBox = new System.Windows.Forms.TextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.submitButton = new System.Windows.Forms.Button(); this.commentLabel = new System.Windows.Forms.Label(); this.stateLabel = new System.Windows.Forms.Label(); this.yearLabel = new System.Windows.Forms.Label(); this.nameLabel = new System.Windows.Forms.Label(); this.authorTextBox = new System.Windows.Forms.TextBox(); this.authorLabel = new System.Windows.Forms.Label(); this.genreTextBox = new System.Windows.Forms.TextBox(); this.genreLabel = new System.Windows.Forms.Label(); this.universeTextBox = new System.Windows.Forms.TextBox(); this.universeLabel = new System.Windows.Forms.Label(); this.seriesTextBox = new System.Windows.Forms.TextBox(); this.seriesLabel = new System.Windows.Forms.Label(); this.volumeLabel = new System.Windows.Forms.Label(); this.chapterLabel = new System.Windows.Forms.Label(); this.volumeTextBox = new System.Windows.Forms.TextBox(); this.chapterTextBox = new System.Windows.Forms.TextBox(); this.pagesTextBox = new System.Windows.Forms.TextBox(); this.pageTextBox = new System.Windows.Forms.TextBox(); this.pagesLabel = new System.Windows.Forms.Label(); this.pageLabel = new System.Windows.Forms.Label(); this.stateComboBox = new StateComboBox(); this.SuspendLayout(); // // commentRichTextBox // this.commentRichTextBox.Location = new System.Drawing.Point(66, 232); this.commentRichTextBox.Name = "commentRichTextBox"; this.commentRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.commentRichTextBox.Size = new System.Drawing.Size(362, 111); this.commentRichTextBox.TabIndex = 11; this.commentRichTextBox.Text = ""; // // yearTextBox // this.yearTextBox.Location = new System.Drawing.Point(66, 205); this.yearTextBox.MaxLength = 9; this.yearTextBox.Name = "yearTextBox"; this.yearTextBox.Size = new System.Drawing.Size(155, 20); this.yearTextBox.TabIndex = 9; // // nameTextBox // this.nameTextBox.Location = new System.Drawing.Point(66, 21); this.nameTextBox.Name = "nameTextBox"; this.nameTextBox.Size = new System.Drawing.Size(362, 20); this.nameTextBox.TabIndex = 0; // // submitButton // this.submitButton.Location = new System.Drawing.Point(190, 349); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 23); this.submitButton.TabIndex = 12; this.submitButton.Text = "Submit"; this.submitButton.UseVisualStyleBackColor = true; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // commentLabel // this.commentLabel.AutoSize = true; this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.commentLabel.Location = new System.Drawing.Point(9, 235); this.commentLabel.Name = "commentLabel"; this.commentLabel.Size = new System.Drawing.Size(51, 13); this.commentLabel.TabIndex = 12; this.commentLabel.Text = "Comment"; // // stateLabel // this.stateLabel.AutoSize = true; this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.stateLabel.Location = new System.Drawing.Point(237, 210); this.stateLabel.Name = "stateLabel"; this.stateLabel.Size = new System.Drawing.Size(32, 13); this.stateLabel.TabIndex = 10; this.stateLabel.Text = "State"; // // yearLabel // this.yearLabel.AutoSize = true; this.yearLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.yearLabel.Location = new System.Drawing.Point(31, 210); this.yearLabel.Name = "yearLabel"; this.yearLabel.Size = new System.Drawing.Size(29, 13); this.yearLabel.TabIndex = 8; this.yearLabel.Text = "Year"; // // nameLabel // this.nameLabel.AutoSize = true; this.nameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nameLabel.Location = new System.Drawing.Point(25, 24); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(35, 13); this.nameLabel.TabIndex = 6; this.nameLabel.Text = "Name"; // // authorTextBox // this.authorTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.authorTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.authorTextBox.Location = new System.Drawing.Point(66, 47); this.authorTextBox.Name = "authorTextBox"; this.authorTextBox.Size = new System.Drawing.Size(362, 20); this.authorTextBox.TabIndex = 1; // // authorLabel // this.authorLabel.AutoSize = true; this.authorLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.authorLabel.Location = new System.Drawing.Point(22, 50); this.authorLabel.Name = "authorLabel"; this.authorLabel.Size = new System.Drawing.Size(38, 13); this.authorLabel.TabIndex = 15; this.authorLabel.Text = "Author"; // // genreTextBox // this.genreTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.genreTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.genreTextBox.Location = new System.Drawing.Point(66, 73); this.genreTextBox.Name = "genreTextBox"; this.genreTextBox.Size = new System.Drawing.Size(362, 20); this.genreTextBox.TabIndex = 2; // // genreLabel // this.genreLabel.AutoSize = true; this.genreLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.genreLabel.Location = new System.Drawing.Point(24, 76); this.genreLabel.Name = "genreLabel"; this.genreLabel.Size = new System.Drawing.Size(36, 13); this.genreLabel.TabIndex = 17; this.genreLabel.Text = "Genre"; // // universeTextBox // this.universeTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.universeTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.universeTextBox.Location = new System.Drawing.Point(66, 99); this.universeTextBox.Name = "universeTextBox"; this.universeTextBox.Size = new System.Drawing.Size(362, 20); this.universeTextBox.TabIndex = 3; // // universeLabel // this.universeLabel.AutoSize = true; this.universeLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.universeLabel.Location = new System.Drawing.Point(11, 102); this.universeLabel.Name = "universeLabel"; this.universeLabel.Size = new System.Drawing.Size(49, 13); this.universeLabel.TabIndex = 19; this.universeLabel.Text = "Universe"; // // seriesTextBox // this.seriesTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.seriesTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.seriesTextBox.Location = new System.Drawing.Point(66, 125); this.seriesTextBox.Name = "seriesTextBox"; this.seriesTextBox.Size = new System.Drawing.Size(362, 20); this.seriesTextBox.TabIndex = 4; // // seriesLabel // this.seriesLabel.AutoSize = true; this.seriesLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.seriesLabel.Location = new System.Drawing.Point(24, 128); this.seriesLabel.Name = "seriesLabel"; this.seriesLabel.Size = new System.Drawing.Size(36, 13); this.seriesLabel.TabIndex = 21; this.seriesLabel.Text = "Series"; // // volumeLabel // this.volumeLabel.AutoSize = true; this.volumeLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.volumeLabel.Location = new System.Drawing.Point(18, 156); this.volumeLabel.Name = "volumeLabel"; this.volumeLabel.Size = new System.Drawing.Size(42, 13); this.volumeLabel.TabIndex = 23; this.volumeLabel.Text = "Volume"; // // chapterLabel // this.chapterLabel.AutoSize = true; this.chapterLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.chapterLabel.Location = new System.Drawing.Point(225, 156); this.chapterLabel.Name = "chapterLabel"; this.chapterLabel.Size = new System.Drawing.Size(44, 13); this.chapterLabel.TabIndex = 25; this.chapterLabel.Text = "Chapter"; // // volumeTextBox // this.volumeTextBox.Location = new System.Drawing.Point(66, 153); this.volumeTextBox.MaxLength = 9; this.volumeTextBox.Name = "volumeTextBox"; this.volumeTextBox.Size = new System.Drawing.Size(155, 20); this.volumeTextBox.TabIndex = 5; // // chapterTextBox // this.chapterTextBox.Location = new System.Drawing.Point(273, 153); this.chapterTextBox.MaxLength = 9; this.chapterTextBox.Name = "chapterTextBox"; this.chapterTextBox.Size = new System.Drawing.Size(155, 20); this.chapterTextBox.TabIndex = 6; // // pagesTextBox // this.pagesTextBox.Location = new System.Drawing.Point(273, 179); this.pagesTextBox.MaxLength = 9; this.pagesTextBox.Name = "pagesTextBox"; this.pagesTextBox.Size = new System.Drawing.Size(155, 20); this.pagesTextBox.TabIndex = 8; // // pageTextBox // this.pageTextBox.Location = new System.Drawing.Point(66, 179); this.pageTextBox.MaxLength = 9; this.pageTextBox.Name = "pageTextBox"; this.pageTextBox.Size = new System.Drawing.Size(155, 20); this.pageTextBox.TabIndex = 7; // // pagesLabel // this.pagesLabel.AutoSize = true; this.pagesLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.pagesLabel.Location = new System.Drawing.Point(232, 182); this.pagesLabel.Name = "pagesLabel"; this.pagesLabel.Size = new System.Drawing.Size(37, 13); this.pagesLabel.TabIndex = 29; this.pagesLabel.Text = "Pages"; // // pageLabel // this.pageLabel.AutoSize = true; this.pageLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.pageLabel.Location = new System.Drawing.Point(28, 182); this.pageLabel.Name = "pageLabel"; this.pageLabel.Size = new System.Drawing.Size(32, 13); this.pageLabel.TabIndex = 28; this.pageLabel.Text = "Page"; // // stateComboBox // this.stateComboBox.BackColor = System.Drawing.Color.White; this.stateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.stateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.stateComboBox.FormattingEnabled = true; this.stateComboBox.Location = new System.Drawing.Point(273, 207); this.stateComboBox.Name = "stateComboBox"; this.stateComboBox.Size = new System.Drawing.Size(155, 21); this.stateComboBox.TabIndex = 10; // // LiteratureForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(444, 382); this.Controls.Add(this.stateComboBox); this.Controls.Add(this.pagesTextBox); this.Controls.Add(this.pageTextBox); this.Controls.Add(this.pagesLabel); this.Controls.Add(this.pageLabel); this.Controls.Add(this.chapterTextBox); this.Controls.Add(this.volumeTextBox); this.Controls.Add(this.chapterLabel); this.Controls.Add(this.volumeLabel); this.Controls.Add(this.seriesTextBox); this.Controls.Add(this.seriesLabel); this.Controls.Add(this.universeTextBox); this.Controls.Add(this.universeLabel); this.Controls.Add(this.genreTextBox); this.Controls.Add(this.genreLabel); this.Controls.Add(this.authorTextBox); this.Controls.Add(this.authorLabel); this.Controls.Add(this.commentRichTextBox); this.Controls.Add(this.yearTextBox); this.Controls.Add(this.nameTextBox); this.Controls.Add(this.submitButton); this.Controls.Add(this.commentLabel); this.Controls.Add(this.stateLabel); this.Controls.Add(this.yearLabel); this.Controls.Add(this.nameLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "LiteratureForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Note"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); this.submitButton = new System.Windows.Forms.Button(); this.commentLabel = new System.Windows.Forms.Label(); this.stateLabel = new System.Windows.Forms.Label(); this.nameLabel = new System.Windows.Forms.Label(); this.URLRichTextBox = new System.Windows.Forms.RichTextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.URLLabel = new System.Windows.Forms.Label(); this.loginTextBox = new System.Windows.Forms.TextBox(); this.loginLabel = new System.Windows.Forms.Label(); this.passwordTextBox = new System.Windows.Forms.TextBox(); this.passwordLabel = new System.Windows.Forms.Label(); this.emailTextBox = new System.Windows.Forms.TextBox(); this.emailLabel = new System.Windows.Forms.Label(); this.stateComboBox = new CommonUIElements.StateComboBox(); this.SuspendLayout(); // // commentRichTextBox // this.commentRichTextBox.Location = new System.Drawing.Point(66, 269); this.commentRichTextBox.Name = "commentRichTextBox"; this.commentRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.commentRichTextBox.Size = new System.Drawing.Size(362, 111); this.commentRichTextBox.TabIndex = 6; this.commentRichTextBox.Text = ""; // // submitButton // this.submitButton.Location = new System.Drawing.Point(186, 386); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 23); this.submitButton.TabIndex = 7; this.submitButton.Text = "Submit"; this.submitButton.UseVisualStyleBackColor = true; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // commentLabel // this.commentLabel.AutoSize = true; this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.commentLabel.Location = new System.Drawing.Point(9, 272); this.commentLabel.Name = "commentLabel"; this.commentLabel.Size = new System.Drawing.Size(51, 13); this.commentLabel.TabIndex = 12; this.commentLabel.Text = "Comment"; // // stateLabel // this.stateLabel.AutoSize = true; this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.stateLabel.Location = new System.Drawing.Point(28, 245); this.stateLabel.Name = "stateLabel"; this.stateLabel.Size = new System.Drawing.Size(32, 13); this.stateLabel.TabIndex = 10; this.stateLabel.Text = "State"; // // nameLabel // this.nameLabel.AutoSize = true; this.nameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nameLabel.Location = new System.Drawing.Point(25, 24); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(35, 13); this.nameLabel.TabIndex = 6; this.nameLabel.Text = "Name"; // // URLRichTextBox // this.URLRichTextBox.Location = new System.Drawing.Point(66, 47); this.URLRichTextBox.Name = "URLRichTextBox"; this.URLRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.URLRichTextBox.Size = new System.Drawing.Size(362, 111); this.URLRichTextBox.TabIndex = 1; this.URLRichTextBox.Text = ""; // // nameTextBox // this.nameTextBox.Location = new System.Drawing.Point(66, 21); this.nameTextBox.Name = "nameTextBox"; this.nameTextBox.Size = new System.Drawing.Size(362, 20); this.nameTextBox.TabIndex = 0; // // URLLabel // this.URLLabel.AutoSize = true; this.URLLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.URLLabel.Location = new System.Drawing.Point(31, 50); this.URLLabel.Name = "URLLabel"; this.URLLabel.Size = new System.Drawing.Size(29, 13); this.URLLabel.TabIndex = 15; this.URLLabel.Text = "URL"; // // loginTextBox // this.loginTextBox.Location = new System.Drawing.Point(66, 164); this.loginTextBox.Name = "loginTextBox"; this.loginTextBox.Size = new System.Drawing.Size(362, 20); this.loginTextBox.TabIndex = 2; // // loginLabel // this.loginLabel.AutoSize = true; this.loginLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.loginLabel.Location = new System.Drawing.Point(27, 167); this.loginLabel.Name = "loginLabel"; this.loginLabel.Size = new System.Drawing.Size(33, 13); this.loginLabel.TabIndex = 17; this.loginLabel.Text = "Login"; // // passwordTextBox // this.passwordTextBox.Location = new System.Drawing.Point(66, 190); this.passwordTextBox.Name = "passwordTextBox"; this.passwordTextBox.Size = new System.Drawing.Size(362, 20); this.passwordTextBox.TabIndex = 3; // // passwordLabel // this.passwordLabel.AutoSize = true; this.passwordLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.passwordLabel.Location = new System.Drawing.Point(7, 193); this.passwordLabel.Name = "passwordLabel"; this.passwordLabel.Size = new System.Drawing.Size(53, 13); this.passwordLabel.TabIndex = 19; this.passwordLabel.Text = "Password"; // // emailTextBox // this.emailTextBox.Location = new System.Drawing.Point(66, 216); this.emailTextBox.Name = "emailTextBox"; this.emailTextBox.Size = new System.Drawing.Size(362, 20); this.emailTextBox.TabIndex = 4; // // emailLabel // this.emailLabel.AutoSize = true; this.emailLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.emailLabel.Location = new System.Drawing.Point(28, 219); this.emailLabel.Name = "emailLabel"; this.emailLabel.Size = new System.Drawing.Size(32, 13); this.emailLabel.TabIndex = 21; this.emailLabel.Text = "Email"; // // stateComboBox // this.stateComboBox.BackColor = System.Drawing.Color.White; this.stateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.stateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.stateComboBox.FormattingEnabled = true; this.stateComboBox.Location = new System.Drawing.Point(66, 242); this.stateComboBox.Name = "stateComboBox"; this.stateComboBox.Size = new System.Drawing.Size(155, 21); this.stateComboBox.TabIndex = 5; // // BookmarkForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(444, 420); this.Controls.Add(this.stateComboBox); this.Controls.Add(this.emailTextBox); this.Controls.Add(this.emailLabel); this.Controls.Add(this.passwordTextBox); this.Controls.Add(this.passwordLabel); this.Controls.Add(this.loginTextBox); this.Controls.Add(this.loginLabel); this.Controls.Add(this.URLLabel); this.Controls.Add(this.URLRichTextBox); this.Controls.Add(this.commentRichTextBox); this.Controls.Add(this.nameTextBox); this.Controls.Add(this.submitButton); this.Controls.Add(this.commentLabel); this.Controls.Add(this.stateLabel); this.Controls.Add(this.nameLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "BookmarkForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Note"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); this.birthdateTextBox = new System.Windows.Forms.TextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.submitButton = new System.Windows.Forms.Button(); this.commentLabel = new System.Windows.Forms.Label(); this.stateLabel = new System.Windows.Forms.Label(); this.birthdateLabel = new System.Windows.Forms.Label(); this.nameLabel = new System.Windows.Forms.Label(); this.sexLabel = new System.Windows.Forms.Label(); this.addressTextBox = new System.Windows.Forms.TextBox(); this.addressLabel = new System.Windows.Forms.Label(); this.contactsLabel = new System.Windows.Forms.Label(); this.nicknameTextBox = new System.Windows.Forms.TextBox(); this.nicknameLabel = new System.Windows.Forms.Label(); this.contactsRichTextBox = new System.Windows.Forms.RichTextBox(); this.sexComboBox = new System.Windows.Forms.ComboBox(); this.stateComboBox = new StateComboBox(); this.SuspendLayout(); // // commentRichTextBox // this.commentRichTextBox.Location = new System.Drawing.Point(66, 246); this.commentRichTextBox.Name = "commentRichTextBox"; this.commentRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.commentRichTextBox.Size = new System.Drawing.Size(362, 111); this.commentRichTextBox.TabIndex = 7; this.commentRichTextBox.Text = ""; // // birthdateTextBox // this.birthdateTextBox.Location = new System.Drawing.Point(288, 73); this.birthdateTextBox.MaxLength = 10; this.birthdateTextBox.Name = "birthdateTextBox"; this.birthdateTextBox.Size = new System.Drawing.Size(140, 20); this.birthdateTextBox.TabIndex = 3; // // nameTextBox // this.nameTextBox.Location = new System.Drawing.Point(66, 21); this.nameTextBox.Name = "nameTextBox"; this.nameTextBox.Size = new System.Drawing.Size(362, 20); this.nameTextBox.TabIndex = 0; // // submitButton // this.submitButton.Location = new System.Drawing.Point(190, 363); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 23); this.submitButton.TabIndex = 8; this.submitButton.Text = "Submit"; this.submitButton.UseVisualStyleBackColor = true; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // commentLabel // this.commentLabel.AutoSize = true; this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.commentLabel.Location = new System.Drawing.Point(9, 249); this.commentLabel.Name = "commentLabel"; this.commentLabel.Size = new System.Drawing.Size(51, 13); this.commentLabel.TabIndex = 12; this.commentLabel.Text = "Comment"; // // stateLabel // this.stateLabel.AutoSize = true; this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.stateLabel.Location = new System.Drawing.Point(28, 222); this.stateLabel.Name = "stateLabel"; this.stateLabel.Size = new System.Drawing.Size(32, 13); this.stateLabel.TabIndex = 10; this.stateLabel.Text = "State"; // // birthdateLabel // this.birthdateLabel.AutoSize = true; this.birthdateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.birthdateLabel.Location = new System.Drawing.Point(227, 76); this.birthdateLabel.Name = "birthdateLabel"; this.birthdateLabel.Size = new System.Drawing.Size(55, 13); this.birthdateLabel.TabIndex = 8; this.birthdateLabel.Text = "Birdthdate"; // // nameLabel // this.nameLabel.AutoSize = true; this.nameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nameLabel.Location = new System.Drawing.Point(25, 24); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(35, 13); this.nameLabel.TabIndex = 6; this.nameLabel.Text = "Name"; // // sexLabel // this.sexLabel.AutoSize = true; this.sexLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.sexLabel.Location = new System.Drawing.Point(35, 76); this.sexLabel.Name = "sexLabel"; this.sexLabel.Size = new System.Drawing.Size(25, 13); this.sexLabel.TabIndex = 15; this.sexLabel.Text = "Sex"; // // addressTextBox // this.addressTextBox.Location = new System.Drawing.Point(66, 99); this.addressTextBox.Name = "addressTextBox"; this.addressTextBox.Size = new System.Drawing.Size(362, 20); this.addressTextBox.TabIndex = 4; // // addressLabel // this.addressLabel.AutoSize = true; this.addressLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.addressLabel.Location = new System.Drawing.Point(15, 102); this.addressLabel.Name = "addressLabel"; this.addressLabel.Size = new System.Drawing.Size(45, 13); this.addressLabel.TabIndex = 17; this.addressLabel.Text = "Address"; // // contactsLabel // this.contactsLabel.AutoSize = true; this.contactsLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.contactsLabel.Location = new System.Drawing.Point(11, 128); this.contactsLabel.Name = "contactsLabel"; this.contactsLabel.Size = new System.Drawing.Size(49, 13); this.contactsLabel.TabIndex = 19; this.contactsLabel.Text = "Contacts"; // // nicknameTextBox // this.nicknameTextBox.Location = new System.Drawing.Point(66, 47); this.nicknameTextBox.Name = "nicknameTextBox"; this.nicknameTextBox.Size = new System.Drawing.Size(362, 20); this.nicknameTextBox.TabIndex = 1; // // nicknameLabel // this.nicknameLabel.AutoSize = true; this.nicknameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nicknameLabel.Location = new System.Drawing.Point(5, 50); this.nicknameLabel.Name = "nicknameLabel"; this.nicknameLabel.Size = new System.Drawing.Size(55, 13); this.nicknameLabel.TabIndex = 21; this.nicknameLabel.Text = "Nickname"; // // contactsRichTextBox // this.contactsRichTextBox.Location = new System.Drawing.Point(66, 125); this.contactsRichTextBox.Name = "contactsRichTextBox"; this.contactsRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.contactsRichTextBox.Size = new System.Drawing.Size(362, 88); this.contactsRichTextBox.TabIndex = 5; this.contactsRichTextBox.Text = ""; // // sexComboBox // this.sexComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.sexComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.sexComboBox.FormattingEnabled = true; this.sexComboBox.Location = new System.Drawing.Point(66, 72); this.sexComboBox.Name = "sexComboBox"; this.sexComboBox.Size = new System.Drawing.Size(155, 21); this.sexComboBox.TabIndex = 2; // // stateComboBox // this.stateComboBox.BackColor = System.Drawing.Color.White; this.stateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.stateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.stateComboBox.FormattingEnabled = true; this.stateComboBox.Location = new System.Drawing.Point(66, 219); this.stateComboBox.Name = "stateComboBox"; this.stateComboBox.Size = new System.Drawing.Size(155, 21); this.stateComboBox.TabIndex = 6; // // PersonForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(444, 395); this.Controls.Add(this.stateComboBox); this.Controls.Add(this.sexComboBox); this.Controls.Add(this.contactsRichTextBox); this.Controls.Add(this.nicknameTextBox); this.Controls.Add(this.nicknameLabel); this.Controls.Add(this.contactsLabel); this.Controls.Add(this.addressTextBox); this.Controls.Add(this.addressLabel); this.Controls.Add(this.sexLabel); this.Controls.Add(this.commentRichTextBox); this.Controls.Add(this.birthdateTextBox); this.Controls.Add(this.nameTextBox); this.Controls.Add(this.submitButton); this.Controls.Add(this.commentLabel); this.Controls.Add(this.stateLabel); this.Controls.Add(this.birthdateLabel); this.Controls.Add(this.nameLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.Name = "PersonForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Note"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.nameLabel = new System.Windows.Forms.Label(); this.yearLabel = new System.Windows.Forms.Label(); this.stateLabel = new System.Windows.Forms.Label(); this.commentLabel = new System.Windows.Forms.Label(); this.submitButton = new System.Windows.Forms.Button(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.yearTextBox = new System.Windows.Forms.TextBox(); this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); this.stateComboBox = new StateComboBox(); this.SuspendLayout(); // // nameLabel // this.nameLabel.AutoSize = true; this.nameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nameLabel.Location = new System.Drawing.Point(25, 24); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(35, 13); this.nameLabel.TabIndex = 0; this.nameLabel.Text = "Name"; // // yearLabel // this.yearLabel.AutoSize = true; this.yearLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.yearLabel.Location = new System.Drawing.Point(31, 52); this.yearLabel.Name = "yearLabel"; this.yearLabel.Size = new System.Drawing.Size(29, 13); this.yearLabel.TabIndex = 1; this.yearLabel.Text = "Year"; // // stateLabel // this.stateLabel.AutoSize = true; this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.stateLabel.Location = new System.Drawing.Point(239, 51); this.stateLabel.Name = "stateLabel"; this.stateLabel.Size = new System.Drawing.Size(32, 13); this.stateLabel.TabIndex = 2; this.stateLabel.Text = "State"; // // commentLabel // this.commentLabel.AutoSize = true; this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.commentLabel.Location = new System.Drawing.Point(9, 77); this.commentLabel.Name = "commentLabel"; this.commentLabel.Size = new System.Drawing.Size(51, 13); this.commentLabel.TabIndex = 3; this.commentLabel.Text = "Comment"; // // submitButton // this.submitButton.Location = new System.Drawing.Point(190, 191); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 23); this.submitButton.TabIndex = 4; this.submitButton.Text = "Submit"; this.submitButton.UseVisualStyleBackColor = true; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // nameTextBox // this.nameTextBox.Location = new System.Drawing.Point(66, 21); this.nameTextBox.Name = "nameTextBox"; this.nameTextBox.Size = new System.Drawing.Size(362, 20); this.nameTextBox.TabIndex = 0; // // yearTextBox // this.yearTextBox.Location = new System.Drawing.Point(66, 47); this.yearTextBox.MaxLength = 9; this.yearTextBox.Name = "yearTextBox"; this.yearTextBox.Size = new System.Drawing.Size(155, 20); this.yearTextBox.TabIndex = 1; // // commentRichTextBox // this.commentRichTextBox.Location = new System.Drawing.Point(66, 74); this.commentRichTextBox.Name = "commentRichTextBox"; this.commentRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.commentRichTextBox.Size = new System.Drawing.Size(362, 111); this.commentRichTextBox.TabIndex = 3; this.commentRichTextBox.Text = ""; // // stateComboBox // this.stateComboBox.BackColor = System.Drawing.Color.White; this.stateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.stateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.stateComboBox.FormattingEnabled = true; this.stateComboBox.Location = new System.Drawing.Point(273, 49); this.stateComboBox.Name = "stateComboBox"; this.stateComboBox.Size = new System.Drawing.Size(155, 21); this.stateComboBox.TabIndex = 2; // // DatedNoteForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(444, 224); this.Controls.Add(this.stateComboBox); this.Controls.Add(this.commentRichTextBox); this.Controls.Add(this.yearTextBox); this.Controls.Add(this.nameTextBox); this.Controls.Add(this.submitButton); this.Controls.Add(this.commentLabel); this.Controls.Add(this.stateLabel); this.Controls.Add(this.yearLabel); this.Controls.Add(this.nameLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "DatedNoteForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Note"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.versionTextBox = new System.Windows.Forms.TextBox(); this.versionLabel = new System.Windows.Forms.Label(); this.emailTextBox = new System.Windows.Forms.TextBox(); this.emailLabel = new System.Windows.Forms.Label(); this.passwordTextBox = new System.Windows.Forms.TextBox(); this.passwordLabel = new System.Windows.Forms.Label(); this.loginTextBox = new System.Windows.Forms.TextBox(); this.loginLabel = new System.Windows.Forms.Label(); this.linkLabel = new System.Windows.Forms.Label(); this.linkRichTextBox = new System.Windows.Forms.RichTextBox(); this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.submitButton = new System.Windows.Forms.Button(); this.commentLabel = new System.Windows.Forms.Label(); this.stateLabel = new System.Windows.Forms.Label(); this.nameLabel = new System.Windows.Forms.Label(); this.genreTextBox = new System.Windows.Forms.TextBox(); this.genreLabel = new System.Windows.Forms.Label(); this.playersCountLabel = new System.Windows.Forms.Label(); this.playersCountComboBox = new System.Windows.Forms.ComboBox(); this.stateComboBox = new StateComboBox(); this.SuspendLayout(); // // versionTextBox // this.versionTextBox.Location = new System.Drawing.Point(71, 41); this.versionTextBox.Name = "versionTextBox"; this.versionTextBox.Size = new System.Drawing.Size(362, 20); this.versionTextBox.TabIndex = 1; // // versionLabel // this.versionLabel.AutoSize = true; this.versionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.versionLabel.Location = new System.Drawing.Point(23, 44); this.versionLabel.Name = "versionLabel"; this.versionLabel.Size = new System.Drawing.Size(42, 13); this.versionLabel.TabIndex = 55; this.versionLabel.Text = "Version"; // // emailTextBox // this.emailTextBox.Location = new System.Drawing.Point(71, 298); this.emailTextBox.Name = "emailTextBox"; this.emailTextBox.Size = new System.Drawing.Size(362, 20); this.emailTextBox.TabIndex = 7; // // emailLabel // this.emailLabel.AutoSize = true; this.emailLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.emailLabel.Location = new System.Drawing.Point(33, 301); this.emailLabel.Name = "emailLabel"; this.emailLabel.Size = new System.Drawing.Size(32, 13); this.emailLabel.TabIndex = 54; this.emailLabel.Text = "Email"; // // passwordTextBox // this.passwordTextBox.Location = new System.Drawing.Point(71, 272); this.passwordTextBox.Name = "passwordTextBox"; this.passwordTextBox.Size = new System.Drawing.Size(362, 20); this.passwordTextBox.TabIndex = 6; // // passwordLabel // this.passwordLabel.AutoSize = true; this.passwordLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.passwordLabel.Location = new System.Drawing.Point(12, 275); this.passwordLabel.Name = "passwordLabel"; this.passwordLabel.Size = new System.Drawing.Size(53, 13); this.passwordLabel.TabIndex = 53; this.passwordLabel.Text = "Password"; // // loginTextBox // this.loginTextBox.Location = new System.Drawing.Point(71, 246); this.loginTextBox.Name = "loginTextBox"; this.loginTextBox.Size = new System.Drawing.Size(362, 20); this.loginTextBox.TabIndex = 5; // // loginLabel // this.loginLabel.AutoSize = true; this.loginLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.loginLabel.Location = new System.Drawing.Point(32, 249); this.loginLabel.Name = "loginLabel"; this.loginLabel.Size = new System.Drawing.Size(33, 13); this.loginLabel.TabIndex = 52; this.loginLabel.Text = "Login"; // // linkLabel // this.linkLabel.AutoSize = true; this.linkLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.linkLabel.Location = new System.Drawing.Point(38, 132); this.linkLabel.Name = "linkLabel"; this.linkLabel.Size = new System.Drawing.Size(27, 13); this.linkLabel.TabIndex = 51; this.linkLabel.Text = "Link"; // // linkRichTextBox // this.linkRichTextBox.Location = new System.Drawing.Point(71, 129); this.linkRichTextBox.Name = "linkRichTextBox"; this.linkRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.linkRichTextBox.Size = new System.Drawing.Size(362, 111); this.linkRichTextBox.TabIndex = 4; this.linkRichTextBox.Text = ""; // // commentRichTextBox // this.commentRichTextBox.Location = new System.Drawing.Point(71, 351); this.commentRichTextBox.Name = "commentRichTextBox"; this.commentRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.commentRichTextBox.Size = new System.Drawing.Size(362, 111); this.commentRichTextBox.TabIndex = 9; this.commentRichTextBox.Text = ""; // // nameTextBox // this.nameTextBox.Location = new System.Drawing.Point(71, 15); this.nameTextBox.Name = "nameTextBox"; this.nameTextBox.Size = new System.Drawing.Size(362, 20); this.nameTextBox.TabIndex = 0; // // submitButton // this.submitButton.Location = new System.Drawing.Point(191, 468); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 23); this.submitButton.TabIndex = 10; this.submitButton.Text = "Submit"; this.submitButton.UseVisualStyleBackColor = true; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // commentLabel // this.commentLabel.AutoSize = true; this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.commentLabel.Location = new System.Drawing.Point(14, 354); this.commentLabel.Name = "commentLabel"; this.commentLabel.Size = new System.Drawing.Size(51, 13); this.commentLabel.TabIndex = 50; this.commentLabel.Text = "Comment"; // // stateLabel // this.stateLabel.AutoSize = true; this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.stateLabel.Location = new System.Drawing.Point(33, 327); this.stateLabel.Name = "stateLabel"; this.stateLabel.Size = new System.Drawing.Size(32, 13); this.stateLabel.TabIndex = 49; this.stateLabel.Text = "State"; // // nameLabel // this.nameLabel.AutoSize = true; this.nameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nameLabel.Location = new System.Drawing.Point(30, 18); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(35, 13); this.nameLabel.TabIndex = 48; this.nameLabel.Text = "Name"; // // genreTextBox // this.genreTextBox.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest; this.genreTextBox.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.genreTextBox.Location = new System.Drawing.Point(70, 67); this.genreTextBox.Name = "genreTextBox"; this.genreTextBox.Size = new System.Drawing.Size(362, 20); this.genreTextBox.TabIndex = 2; // // genreLabel // this.genreLabel.AutoSize = true; this.genreLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.genreLabel.Location = new System.Drawing.Point(29, 70); this.genreLabel.Name = "genreLabel"; this.genreLabel.Size = new System.Drawing.Size(36, 13); this.genreLabel.TabIndex = 57; this.genreLabel.Text = "Genre"; // // playersCountLabel // this.playersCountLabel.AutoSize = true; this.playersCountLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.playersCountLabel.Location = new System.Drawing.Point(29, 102); this.playersCountLabel.Name = "playersCountLabel"; this.playersCountLabel.Size = new System.Drawing.Size(31, 13); this.playersCountLabel.TabIndex = 58; this.playersCountLabel.Text = "Type"; // // playersCountComboBox // this.playersCountComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.playersCountComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.playersCountComboBox.FormattingEnabled = true; this.playersCountComboBox.Location = new System.Drawing.Point(71, 99); this.playersCountComboBox.Name = "playersCountComboBox"; this.playersCountComboBox.Size = new System.Drawing.Size(155, 21); this.playersCountComboBox.TabIndex = 3; // // stateComboBox1 // this.stateComboBox.BackColor = System.Drawing.Color.White; this.stateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.stateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.stateComboBox.FormattingEnabled = true; this.stateComboBox.Location = new System.Drawing.Point(70, 324); this.stateComboBox.Name = "stateComboBox1"; this.stateComboBox.Size = new System.Drawing.Size(154, 21); this.stateComboBox.TabIndex = 8; // // GameForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(444, 498); this.Controls.Add(this.stateComboBox); this.Controls.Add(this.playersCountComboBox); this.Controls.Add(this.playersCountLabel); this.Controls.Add(this.genreTextBox); this.Controls.Add(this.genreLabel); this.Controls.Add(this.versionTextBox); this.Controls.Add(this.versionLabel); this.Controls.Add(this.emailTextBox); this.Controls.Add(this.emailLabel); this.Controls.Add(this.passwordTextBox); this.Controls.Add(this.passwordLabel); this.Controls.Add(this.loginTextBox); this.Controls.Add(this.loginLabel); this.Controls.Add(this.linkLabel); this.Controls.Add(this.linkRichTextBox); this.Controls.Add(this.commentRichTextBox); this.Controls.Add(this.nameTextBox); this.Controls.Add(this.submitButton); this.Controls.Add(this.commentLabel); this.Controls.Add(this.stateLabel); this.Controls.Add(this.nameLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "GameForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Note"; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.saveButton = new System.Windows.Forms.Button(); this.defaultNotesLabel = new System.Windows.Forms.Label(); this.menuPanel = new System.Windows.Forms.Panel(); this.defaultNotesComboBox = new CommonUIElements.NotesComboBox(); this.viewLabel = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.TVShowsComboBox = new CommonUIElements.StateComboBox(); this.serialsComboBox = new CommonUIElements.StateComboBox(); this.regularDoingsComboBox = new CommonUIElements.StateComboBox(); this.programsComboBox = new CommonUIElements.StateComboBox(); this.peopleComboBox = new CommonUIElements.StateComboBox(); this.performancesComboBox = new CommonUIElements.StateComboBox(); this.mealComboBox = new CommonUIElements.StateComboBox(); this.literatureComboBox = new CommonUIElements.StateComboBox(); this.gamesComboBox = new CommonUIElements.StateComboBox(); this.filmsComboBox = new CommonUIElements.StateComboBox(); this.desiresComboBox = new CommonUIElements.StateComboBox(); this.bookmarksComboBox = new CommonUIElements.StateComboBox(); this.animeSerialsComboBox = new CommonUIElements.StateComboBox(); this.animeFilmsComboBox = new CommonUIElements.StateComboBox(); this.affairsComboBox = new CommonUIElements.StateComboBox(); this.affairsStateLabel = new System.Windows.Forms.Label(); this.regularDoingsStateLabel = new System.Windows.Forms.Label(); this.animeFilmsStateLabel = new System.Windows.Forms.Label(); this.literatureStateLabel = new System.Windows.Forms.Label(); this.animeSerialsStateLabel = new System.Windows.Forms.Label(); this.TVShowsStateLabel = new System.Windows.Forms.Label(); this.mealStateLabel = new System.Windows.Forms.Label(); this.bookmarksStateLabel = new System.Windows.Forms.Label(); this.gamesStateLabel = new System.Windows.Forms.Label(); this.serialsStateLabel = new System.Windows.Forms.Label(); this.desiresStateLabel = new System.Windows.Forms.Label(); this.performancesStateLabel = new System.Windows.Forms.Label(); this.programsStateLabel = new System.Windows.Forms.Label(); this.filmsStateLabel = new System.Windows.Forms.Label(); this.peopleStateLabel = new System.Windows.Forms.Label(); this.menuPanel.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // saveButton // this.saveButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.saveButton.Location = new System.Drawing.Point(188, 324); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(75, 23); this.saveButton.TabIndex = 12; this.saveButton.Text = "Save"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // defaultNotesLabel // this.defaultNotesLabel.AutoSize = true; this.defaultNotesLabel.Location = new System.Drawing.Point(6, 17); this.defaultNotesLabel.Name = "defaultNotesLabel"; this.defaultNotesLabel.Size = new System.Drawing.Size(35, 13); this.defaultNotesLabel.TabIndex = 9; this.defaultNotesLabel.Text = "Notes"; // // menuPanel // this.menuPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.menuPanel.Controls.Add(this.defaultNotesComboBox); this.menuPanel.Controls.Add(this.defaultNotesLabel); this.menuPanel.Location = new System.Drawing.Point(9, 32); this.menuPanel.Name = "menuPanel"; this.menuPanel.Size = new System.Drawing.Size(422, 46); this.menuPanel.TabIndex = 7; // // defaultNotesComboBox // this.defaultNotesComboBox.BackColor = System.Drawing.Color.White; this.defaultNotesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.defaultNotesComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.defaultNotesComboBox.FormattingEnabled = true; this.defaultNotesComboBox.Location = new System.Drawing.Point(93, 14); this.defaultNotesComboBox.Name = "defaultNotesComboBox"; this.defaultNotesComboBox.Size = new System.Drawing.Size(103, 21); this.defaultNotesComboBox.TabIndex = 10; // // viewLabel // this.viewLabel.AutoSize = true; this.viewLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.viewLabel.Location = new System.Drawing.Point(12, 9); this.viewLabel.Name = "viewLabel"; this.viewLabel.Size = new System.Drawing.Size(86, 16); this.viewLabel.TabIndex = 6; this.viewLabel.Text = "Default notes"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.label1.Location = new System.Drawing.Point(12, 87); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(82, 16); this.label1.TabIndex = 13; this.label1.Text = "Default state"; // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.TVShowsComboBox); this.panel1.Controls.Add(this.serialsComboBox); this.panel1.Controls.Add(this.regularDoingsComboBox); this.panel1.Controls.Add(this.programsComboBox); this.panel1.Controls.Add(this.peopleComboBox); this.panel1.Controls.Add(this.performancesComboBox); this.panel1.Controls.Add(this.mealComboBox); this.panel1.Controls.Add(this.literatureComboBox); this.panel1.Controls.Add(this.gamesComboBox); this.panel1.Controls.Add(this.filmsComboBox); this.panel1.Controls.Add(this.desiresComboBox); this.panel1.Controls.Add(this.bookmarksComboBox); this.panel1.Controls.Add(this.animeSerialsComboBox); this.panel1.Controls.Add(this.animeFilmsComboBox); this.panel1.Controls.Add(this.affairsComboBox); this.panel1.Controls.Add(this.affairsStateLabel); this.panel1.Controls.Add(this.regularDoingsStateLabel); this.panel1.Controls.Add(this.animeFilmsStateLabel); this.panel1.Controls.Add(this.literatureStateLabel); this.panel1.Controls.Add(this.animeSerialsStateLabel); this.panel1.Controls.Add(this.TVShowsStateLabel); this.panel1.Controls.Add(this.mealStateLabel); this.panel1.Controls.Add(this.bookmarksStateLabel); this.panel1.Controls.Add(this.gamesStateLabel); this.panel1.Controls.Add(this.serialsStateLabel); this.panel1.Controls.Add(this.desiresStateLabel); this.panel1.Controls.Add(this.performancesStateLabel); this.panel1.Controls.Add(this.programsStateLabel); this.panel1.Controls.Add(this.filmsStateLabel); this.panel1.Controls.Add(this.peopleStateLabel); this.panel1.Location = new System.Drawing.Point(9, 110); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(423, 201); this.panel1.TabIndex = 14; // // TVShowsComboBox // this.TVShowsComboBox.BackColor = System.Drawing.Color.White; this.TVShowsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.TVShowsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.TVShowsComboBox.FormattingEnabled = true; this.TVShowsComboBox.Location = new System.Drawing.Point(303, 149); this.TVShowsComboBox.Name = "TVShowsComboBox"; this.TVShowsComboBox.Size = new System.Drawing.Size(103, 21); this.TVShowsComboBox.TabIndex = 52; // // serialsComboBox // this.serialsComboBox.BackColor = System.Drawing.Color.White; this.serialsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.serialsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.serialsComboBox.FormattingEnabled = true; this.serialsComboBox.Location = new System.Drawing.Point(303, 126); this.serialsComboBox.Name = "serialsComboBox"; this.serialsComboBox.Size = new System.Drawing.Size(103, 21); this.serialsComboBox.TabIndex = 51; // // regularDoingsComboBox // this.regularDoingsComboBox.BackColor = System.Drawing.Color.White; this.regularDoingsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.regularDoingsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.regularDoingsComboBox.FormattingEnabled = true; this.regularDoingsComboBox.Location = new System.Drawing.Point(303, 103); this.regularDoingsComboBox.Name = "regularDoingsComboBox"; this.regularDoingsComboBox.Size = new System.Drawing.Size(103, 21); this.regularDoingsComboBox.TabIndex = 50; // // programsComboBox // this.programsComboBox.BackColor = System.Drawing.Color.White; this.programsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.programsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.programsComboBox.FormattingEnabled = true; this.programsComboBox.Location = new System.Drawing.Point(303, 80); this.programsComboBox.Name = "programsComboBox"; this.programsComboBox.Size = new System.Drawing.Size(103, 21); this.programsComboBox.TabIndex = 49; // // peopleComboBox // this.peopleComboBox.BackColor = System.Drawing.Color.White; this.peopleComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.peopleComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.peopleComboBox.FormattingEnabled = true; this.peopleComboBox.Location = new System.Drawing.Point(303, 57); this.peopleComboBox.Name = "peopleComboBox"; this.peopleComboBox.Size = new System.Drawing.Size(103, 21); this.peopleComboBox.TabIndex = 48; // // performancesComboBox // this.performancesComboBox.BackColor = System.Drawing.Color.White; this.performancesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.performancesComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.performancesComboBox.FormattingEnabled = true; this.performancesComboBox.Location = new System.Drawing.Point(303, 34); this.performancesComboBox.Name = "performancesComboBox"; this.performancesComboBox.Size = new System.Drawing.Size(103, 21); this.performancesComboBox.TabIndex = 47; // // mealComboBox // this.mealComboBox.BackColor = System.Drawing.Color.White; this.mealComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.mealComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.mealComboBox.FormattingEnabled = true; this.mealComboBox.Location = new System.Drawing.Point(303, 11); this.mealComboBox.Name = "mealComboBox"; this.mealComboBox.Size = new System.Drawing.Size(103, 21); this.mealComboBox.TabIndex = 46; // // literatureComboBox // this.literatureComboBox.BackColor = System.Drawing.Color.White; this.literatureComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.literatureComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.literatureComboBox.FormattingEnabled = true; this.literatureComboBox.Location = new System.Drawing.Point(93, 172); this.literatureComboBox.Name = "literatureComboBox"; this.literatureComboBox.Size = new System.Drawing.Size(103, 21); this.literatureComboBox.TabIndex = 45; // // gamesComboBox // this.gamesComboBox.BackColor = System.Drawing.Color.White; this.gamesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.gamesComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.gamesComboBox.FormattingEnabled = true; this.gamesComboBox.Location = new System.Drawing.Point(93, 149); this.gamesComboBox.Name = "gamesComboBox"; this.gamesComboBox.Size = new System.Drawing.Size(103, 21); this.gamesComboBox.TabIndex = 44; // // filmsComboBox // this.filmsComboBox.BackColor = System.Drawing.Color.White; this.filmsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.filmsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.filmsComboBox.FormattingEnabled = true; this.filmsComboBox.Location = new System.Drawing.Point(93, 126); this.filmsComboBox.Name = "filmsComboBox"; this.filmsComboBox.Size = new System.Drawing.Size(103, 21); this.filmsComboBox.TabIndex = 43; // // desiresComboBox // this.desiresComboBox.BackColor = System.Drawing.Color.White; this.desiresComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.desiresComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.desiresComboBox.FormattingEnabled = true; this.desiresComboBox.Location = new System.Drawing.Point(93, 103); this.desiresComboBox.Name = "desiresComboBox"; this.desiresComboBox.Size = new System.Drawing.Size(103, 21); this.desiresComboBox.TabIndex = 42; // // bookmarksComboBox // this.bookmarksComboBox.BackColor = System.Drawing.Color.White; this.bookmarksComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.bookmarksComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.bookmarksComboBox.FormattingEnabled = true; this.bookmarksComboBox.Location = new System.Drawing.Point(93, 80); this.bookmarksComboBox.Name = "bookmarksComboBox"; this.bookmarksComboBox.Size = new System.Drawing.Size(103, 21); this.bookmarksComboBox.TabIndex = 41; // // animeSerialsComboBox // this.animeSerialsComboBox.BackColor = System.Drawing.Color.White; this.animeSerialsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.animeSerialsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.animeSerialsComboBox.FormattingEnabled = true; this.animeSerialsComboBox.Location = new System.Drawing.Point(93, 57); this.animeSerialsComboBox.Name = "animeSerialsComboBox"; this.animeSerialsComboBox.Size = new System.Drawing.Size(103, 21); this.animeSerialsComboBox.TabIndex = 40; // // animeFilmsComboBox // this.animeFilmsComboBox.BackColor = System.Drawing.Color.White; this.animeFilmsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.animeFilmsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.animeFilmsComboBox.FormattingEnabled = true; this.animeFilmsComboBox.Location = new System.Drawing.Point(93, 34); this.animeFilmsComboBox.Name = "animeFilmsComboBox"; this.animeFilmsComboBox.Size = new System.Drawing.Size(103, 21); this.animeFilmsComboBox.TabIndex = 39; // // affairsComboBox // this.affairsComboBox.BackColor = System.Drawing.Color.White; this.affairsComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.affairsComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.affairsComboBox.FormattingEnabled = true; this.affairsComboBox.Location = new System.Drawing.Point(93, 11); this.affairsComboBox.Name = "affairsComboBox"; this.affairsComboBox.Size = new System.Drawing.Size(103, 21); this.affairsComboBox.TabIndex = 38; // // affairsStateLabel // this.affairsStateLabel.AutoSize = true; this.affairsStateLabel.Location = new System.Drawing.Point(6, 14); this.affairsStateLabel.Name = "affairsStateLabel"; this.affairsStateLabel.Size = new System.Drawing.Size(36, 13); this.affairsStateLabel.TabIndex = 35; this.affairsStateLabel.Text = "Affairs"; // // regularDoingsStateLabel // this.regularDoingsStateLabel.AutoSize = true; this.regularDoingsStateLabel.Location = new System.Drawing.Point(216, 106); this.regularDoingsStateLabel.Name = "regularDoingsStateLabel"; this.regularDoingsStateLabel.Size = new System.Drawing.Size(78, 13); this.regularDoingsStateLabel.TabIndex = 37; this.regularDoingsStateLabel.Text = "Regular doings"; // // animeFilmsStateLabel // this.animeFilmsStateLabel.AutoSize = true; this.animeFilmsStateLabel.Location = new System.Drawing.Point(6, 37); this.animeFilmsStateLabel.Name = "animeFilmsStateLabel"; this.animeFilmsStateLabel.Size = new System.Drawing.Size(59, 13); this.animeFilmsStateLabel.TabIndex = 9; this.animeFilmsStateLabel.Text = "Anime films"; // // literatureStateLabel // this.literatureStateLabel.AutoSize = true; this.literatureStateLabel.Location = new System.Drawing.Point(6, 175); this.literatureStateLabel.Name = "literatureStateLabel"; this.literatureStateLabel.Size = new System.Drawing.Size(51, 13); this.literatureStateLabel.TabIndex = 22; this.literatureStateLabel.Text = "Literature"; // // animeSerialsStateLabel // this.animeSerialsStateLabel.AutoSize = true; this.animeSerialsStateLabel.Location = new System.Drawing.Point(6, 60); this.animeSerialsStateLabel.Name = "animeSerialsStateLabel"; this.animeSerialsStateLabel.Size = new System.Drawing.Size(68, 13); this.animeSerialsStateLabel.TabIndex = 11; this.animeSerialsStateLabel.Text = "Anime serials"; // // TVShowsStateLabel // this.TVShowsStateLabel.AutoSize = true; this.TVShowsStateLabel.Location = new System.Drawing.Point(216, 152); this.TVShowsStateLabel.Name = "TVShowsStateLabel"; this.TVShowsStateLabel.Size = new System.Drawing.Size(54, 13); this.TVShowsStateLabel.TabIndex = 33; this.TVShowsStateLabel.Text = "TV shows"; // // mealStateLabel // this.mealStateLabel.AutoSize = true; this.mealStateLabel.Location = new System.Drawing.Point(216, 14); this.mealStateLabel.Name = "mealStateLabel"; this.mealStateLabel.Size = new System.Drawing.Size(30, 13); this.mealStateLabel.TabIndex = 23; this.mealStateLabel.Text = "Meal"; // // bookmarksStateLabel // this.bookmarksStateLabel.AutoSize = true; this.bookmarksStateLabel.Location = new System.Drawing.Point(6, 83); this.bookmarksStateLabel.Name = "bookmarksStateLabel"; this.bookmarksStateLabel.Size = new System.Drawing.Size(60, 13); this.bookmarksStateLabel.TabIndex = 14; this.bookmarksStateLabel.Text = "Bookmarks"; // // gamesStateLabel // this.gamesStateLabel.AutoSize = true; this.gamesStateLabel.Location = new System.Drawing.Point(6, 152); this.gamesStateLabel.Name = "gamesStateLabel"; this.gamesStateLabel.Size = new System.Drawing.Size(40, 13); this.gamesStateLabel.TabIndex = 19; this.gamesStateLabel.Text = "Games"; // // serialsStateLabel // this.serialsStateLabel.AutoSize = true; this.serialsStateLabel.Location = new System.Drawing.Point(216, 129); this.serialsStateLabel.Name = "serialsStateLabel"; this.serialsStateLabel.Size = new System.Drawing.Size(38, 13); this.serialsStateLabel.TabIndex = 32; this.serialsStateLabel.Text = "Serials"; // // desiresStateLabel // this.desiresStateLabel.AutoSize = true; this.desiresStateLabel.Location = new System.Drawing.Point(6, 106); this.desiresStateLabel.Name = "desiresStateLabel"; this.desiresStateLabel.Size = new System.Drawing.Size(42, 13); this.desiresStateLabel.TabIndex = 15; this.desiresStateLabel.Text = "Desires"; // // performancesStateLabel // this.performancesStateLabel.AutoSize = true; this.performancesStateLabel.Location = new System.Drawing.Point(216, 37); this.performancesStateLabel.Name = "performancesStateLabel"; this.performancesStateLabel.Size = new System.Drawing.Size(72, 13); this.performancesStateLabel.TabIndex = 26; this.performancesStateLabel.Text = "Performances"; // // programsStateLabel // this.programsStateLabel.AutoSize = true; this.programsStateLabel.Location = new System.Drawing.Point(216, 83); this.programsStateLabel.Name = "programsStateLabel"; this.programsStateLabel.Size = new System.Drawing.Size(51, 13); this.programsStateLabel.TabIndex = 29; this.programsStateLabel.Text = "Programs"; // // filmsStateLabel // this.filmsStateLabel.AutoSize = true; this.filmsStateLabel.Location = new System.Drawing.Point(6, 129); this.filmsStateLabel.Name = "filmsStateLabel"; this.filmsStateLabel.Size = new System.Drawing.Size(30, 13); this.filmsStateLabel.TabIndex = 18; this.filmsStateLabel.Text = "Films"; // // peopleStateLabel // this.peopleStateLabel.AutoSize = true; this.peopleStateLabel.Location = new System.Drawing.Point(216, 60); this.peopleStateLabel.Name = "peopleStateLabel"; this.peopleStateLabel.Size = new System.Drawing.Size(40, 13); this.peopleStateLabel.TabIndex = 27; this.peopleStateLabel.Text = "People"; // // ViewSettingsForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(444, 358); this.Controls.Add(this.label1); this.Controls.Add(this.panel1); this.Controls.Add(this.saveButton); this.Controls.Add(this.viewLabel); this.Controls.Add(this.menuPanel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "ViewSettingsForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Settings - View"; this.menuPanel.ResumeLayout(false); this.menuPanel.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private string GetSelectedText(StateComboBox comboBox) { return(comboBox.GetItemText(comboBox.SelectedItem)); }
private void SetDefaultState(StateComboBox comboBox, string tableNameDB) { comboBox.SelectedIndex = comboBox.FindString(_settings.GetDefaultState(tableNameDB)); }
private void InitializeComponent() { this.commentRichTextBox = new System.Windows.Forms.RichTextBox(); this.nameTextBox = new System.Windows.Forms.TextBox(); this.submitButton = new System.Windows.Forms.Button(); this.commentLabel = new System.Windows.Forms.Label(); this.stateLabel = new System.Windows.Forms.Label(); this.nameLabel = new System.Windows.Forms.Label(); this.ingredientsRichTextBox = new System.Windows.Forms.RichTextBox(); this.ingredientsLabel = new System.Windows.Forms.Label(); this.recipeRichTextBox = new System.Windows.Forms.RichTextBox(); this.recipeLabel = new System.Windows.Forms.Label(); this.stateComboBox = new StateComboBox(); this.SuspendLayout(); // // commentRichTextBox // this.commentRichTextBox.Location = new System.Drawing.Point(66, 249); this.commentRichTextBox.Name = "commentRichTextBox"; this.commentRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.commentRichTextBox.Size = new System.Drawing.Size(362, 111); this.commentRichTextBox.TabIndex = 4; this.commentRichTextBox.Text = ""; // // nameTextBox // this.nameTextBox.Location = new System.Drawing.Point(66, 21); this.nameTextBox.Name = "nameTextBox"; this.nameTextBox.Size = new System.Drawing.Size(362, 20); this.nameTextBox.TabIndex = 0; // // submitButton // this.submitButton.Location = new System.Drawing.Point(421, 366); this.submitButton.Name = "submitButton"; this.submitButton.Size = new System.Drawing.Size(75, 23); this.submitButton.TabIndex = 5; this.submitButton.Text = "Submit"; this.submitButton.UseVisualStyleBackColor = true; this.submitButton.Click += new System.EventHandler(this.submitButton_Click); // // commentLabel // this.commentLabel.AutoSize = true; this.commentLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.commentLabel.Location = new System.Drawing.Point(11, 252); this.commentLabel.Name = "commentLabel"; this.commentLabel.Size = new System.Drawing.Size(51, 13); this.commentLabel.TabIndex = 12; this.commentLabel.Text = "Comment"; // // stateLabel // this.stateLabel.AutoSize = true; this.stateLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.stateLabel.Location = new System.Drawing.Point(30, 225); this.stateLabel.Name = "stateLabel"; this.stateLabel.Size = new System.Drawing.Size(32, 13); this.stateLabel.TabIndex = 10; this.stateLabel.Text = "State"; // // nameLabel // this.nameLabel.AutoSize = true; this.nameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.nameLabel.Location = new System.Drawing.Point(27, 24); this.nameLabel.Name = "nameLabel"; this.nameLabel.Size = new System.Drawing.Size(35, 13); this.nameLabel.TabIndex = 6; this.nameLabel.Text = "Name"; // // ingredientsRichTextBox // this.ingredientsRichTextBox.Location = new System.Drawing.Point(66, 47); this.ingredientsRichTextBox.Name = "ingredientsRichTextBox"; this.ingredientsRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.ingredientsRichTextBox.Size = new System.Drawing.Size(362, 169); this.ingredientsRichTextBox.TabIndex = 1; this.ingredientsRichTextBox.Text = ""; // // ingredientsLabel // this.ingredientsLabel.AutoSize = true; this.ingredientsLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.ingredientsLabel.Location = new System.Drawing.Point(3, 50); this.ingredientsLabel.Name = "ingredientsLabel"; this.ingredientsLabel.Size = new System.Drawing.Size(59, 13); this.ingredientsLabel.TabIndex = 15; this.ingredientsLabel.Text = "Ingredients"; // // recipeRichTextBox // this.recipeRichTextBox.Location = new System.Drawing.Point(493, 21); this.recipeRichTextBox.Name = "recipeRichTextBox"; this.recipeRichTextBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.recipeRichTextBox.Size = new System.Drawing.Size(386, 339); this.recipeRichTextBox.TabIndex = 2; this.recipeRichTextBox.Text = ""; // // recipeLabel // this.recipeLabel.AutoSize = true; this.recipeLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.recipeLabel.Location = new System.Drawing.Point(446, 24); this.recipeLabel.Name = "recipeLabel"; this.recipeLabel.Size = new System.Drawing.Size(41, 13); this.recipeLabel.TabIndex = 17; this.recipeLabel.Text = "Recipe"; // // stateComboBox // this.stateComboBox.BackColor = System.Drawing.Color.White; this.stateComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.stateComboBox.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.stateComboBox.FormattingEnabled = true; this.stateComboBox.Location = new System.Drawing.Point(66, 222); this.stateComboBox.Name = "stateComboBox"; this.stateComboBox.Size = new System.Drawing.Size(155, 21); this.stateComboBox.TabIndex = 3; // // MealForm // this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(904, 400); this.Controls.Add(this.stateComboBox); this.Controls.Add(this.recipeLabel); this.Controls.Add(this.recipeRichTextBox); this.Controls.Add(this.ingredientsLabel); this.Controls.Add(this.ingredientsRichTextBox); this.Controls.Add(this.commentRichTextBox); this.Controls.Add(this.nameTextBox); this.Controls.Add(this.submitButton); this.Controls.Add(this.commentLabel); this.Controls.Add(this.stateLabel); this.Controls.Add(this.nameLabel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.Name = "MealForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Meal"; this.ResumeLayout(false); this.PerformLayout(); }