private void InitializeComponent() { Panel panel = new Panel(); Panel panel2 = new Panel(); Panel panel3 = new Panel(); MxLabel label = new MxLabel(); MxLabel label2 = new MxLabel(); MxLabel label3 = new MxLabel(); this._templateListView = new ListView(); this._descriptionLabel = new MxLabel(); this._categoryListBox = new ListBox(); this._fileNameText = new MxTextBox(); this._locationText = new MxTextBox(); this._codeGroup = new GroupLabel(); this._languageLabel = new MxLabel(); this._languageCombo = new MxComboBox(); this._locationPickerButton = new MxButton(); this._classInfoCheckBox = new MxCheckBox(); this._classLabel = new MxLabel(); this._classText = new MxTextBox(); this._namespaceLabel = new MxLabel(); this._namespaceText = new MxTextBox(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._iconViewButton = new TrackButton(); this._listViewButton = new TrackButton(); panel.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); base.SuspendLayout(); label.Location = new Point(12, 8); label.Size = new Size(0x40, 0x10); label.TabIndex = 0; label.Text = "&Templates:"; this._categoryListBox.IntegralHeight = false; this._categoryListBox.Dock = DockStyle.Fill; this._categoryListBox.BorderStyle = BorderStyle.None; this._categoryListBox.ScrollAlwaysVisible = true; this._categoryListBox.TabIndex = 0; this._categoryListBox.Sorted = true; this._categoryListBox.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedCategoryListBox); panel.BackColor = SystemColors.ControlDark; panel.DockPadding.All = 1; panel.Location = new Point(12, 0x1a); panel.Size = new Size(0xb9, 0xa8); panel.TabIndex = 1; panel.Controls.Add(this._categoryListBox); this._iconViewButton.Size = new Size(0x12, 0x12); this._iconViewButton.Location = new Point(0x19f, 6); this._iconViewButton.TabIndex = 2; this._iconViewButton.TabStop = false; this._iconViewButton.Checked = true; this._iconViewButton.Click += new EventHandler(this.OnClickIconViewButton); this._listViewButton.Size = new Size(0x12, 0x12); this._listViewButton.Location = new Point(0x1b2, 6); this._listViewButton.TabIndex = 3; this._listViewButton.TabStop = false; this._listViewButton.Click += new EventHandler(this.OnClickListViewButton); this._templateListView.BorderStyle = BorderStyle.None; this._templateListView.Dock = DockStyle.Fill; this._templateListView.HideSelection = false; this._templateListView.MultiSelect = false; this._templateListView.TabIndex = 0; this._templateListView.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedTemplateListView); panel2.BackColor = SystemColors.ControlDark; panel2.Controls.Add(this._templateListView); panel2.DockPadding.All = 1; panel2.Location = new Point(200, 0x1a); panel2.Size = new Size(0xfc, 0xa8); panel2.TabIndex = 4; this._descriptionLabel.BackColor = SystemColors.Control; this._descriptionLabel.Dock = DockStyle.Fill; this._descriptionLabel.TabIndex = 0; panel3.BackColor = SystemColors.ControlDark; panel3.Controls.Add(this._descriptionLabel); panel3.DockPadding.All = 1; panel3.Location = new Point(12, 0xc6); panel3.Size = new Size(440, 0x12); panel3.TabIndex = 5; label3.Location = new Point(12, 230); label3.Size = new Size(0x34, 0x10); label3.TabIndex = 6; label3.Text = "&Location:"; this._locationText.Location = new Point(0x52, 0xe4); this._locationText.Size = new Size(0x156, 20); this._locationText.TabIndex = 7; this._locationText.FlatAppearance = true; this._locationText.AlwaysShowFocusCues = true; this._locationText.TextChanged += new EventHandler(this.OnTextChangedFields); this._locationPickerButton.Location = new Point(0x1ac, 0xe3); this._locationPickerButton.Size = new Size(0x18, 0x16); this._locationPickerButton.TabIndex = 8; this._locationPickerButton.Text = "..."; this._locationPickerButton.Click += new EventHandler(this.OnClickPickerButton); label2.Location = new Point(12, 0xfe); label2.Size = new Size(0x34, 0x10); label2.TabIndex = 9; label2.Text = "&Filename:"; this._fileNameText.Location = new Point(0x52, 0xfc); this._fileNameText.Size = new Size(0x156, 20); this._fileNameText.TabIndex = 10; this._fileNameText.Text = ""; this._fileNameText.FlatAppearance = true; this._fileNameText.AlwaysShowFocusCues = true; this._fileNameText.TextChanged += new EventHandler(this.OnTextChangedFields); this._codeGroup.Location = new Point(12, 0x116); this._codeGroup.Size = new Size(0x1b7, 0x10); this._codeGroup.TabIndex = 11; this._codeGroup.Text = "Code"; this._codeGroup.Visible = false; this._languageLabel.Location = new Point(0x10, 0x12b); this._languageLabel.Size = new Size(0x40, 0x10); this._languageLabel.TabIndex = 12; this._languageLabel.Text = "L&anguage:"; this._languageLabel.Visible = false; this._languageCombo.DropDownStyle = ComboBoxStyle.DropDownList; this._languageCombo.FlatAppearance = true; this._languageCombo.AlwaysShowFocusCues = true; this._languageCombo.Location = new Point(0x52, 0x127); this._languageCombo.Size = new Size(130, 0x15); this._languageCombo.TabIndex = 13; this._languageCombo.Visible = false; this._languageCombo.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedLanguageCombo); this._classInfoCheckBox.Location = new Point(0x10, 320); this._classInfoCheckBox.Size = new Size(200, 0x10); this._classInfoCheckBox.TabIndex = 14; this._classInfoCheckBox.Visible = false; this._classInfoCheckBox.CheckedChanged += new EventHandler(this.OnCheckedChangedClassInfoCheckBox); this._classLabel.Location = new Point(0x10, 340); this._classLabel.Size = new Size(0x40, 0x10); this._classLabel.TabIndex = 15; this._classLabel.Text = "&Class:"; this._classLabel.Visible = false; this._classText.Location = new Point(0x52, 0x152); this._classText.Size = new Size(130, 20); this._classText.TabIndex = 0x10; this._classText.Text = ""; this._classText.FlatAppearance = true; this._classText.AlwaysShowFocusCues = true; this._classText.Visible = false; this._classText.TextChanged += new EventHandler(this.OnTextChangedFields); this._namespaceLabel.Location = new Point(230, 340); this._namespaceLabel.Size = new Size(0x40, 0x10); this._namespaceLabel.TabIndex = 0x11; this._namespaceLabel.Text = "&Namespace:"; this._namespaceLabel.Visible = false; this._namespaceText.Location = new Point(320, 0x152); this._namespaceText.Size = new Size(130, 20); this._namespaceText.TabIndex = 0x12; this._namespaceText.Text = ""; this._namespaceText.FlatAppearance = true; this._namespaceText.AlwaysShowFocusCues = true; this._namespaceText.Visible = false; this._namespaceText.TextChanged += new EventHandler(this.OnTextChangedFields); this._okButton.Location = new Point(0x12a, 0x170); this._okButton.TabIndex = 0x13; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnClickOKButton); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x17a, 0x170); this._cancelButton.TabIndex = 20; this._cancelButton.Text = "Cancel"; this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x1d2, 400); base.Controls.AddRange(new Control[] { this._cancelButton, this._okButton, this._namespaceText, this._namespaceLabel, this._classText, this._classLabel, this._classInfoCheckBox, this._locationPickerButton, this._languageCombo, this._languageLabel, this._codeGroup, label3, this._locationText, this._fileNameText, label2, panel3, panel2, this._listViewButton, this._iconViewButton, panel, label }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.AcceptButton = this._okButton; base.CancelButton = this._cancelButton; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Add New File"; base.Icon = new Icon(typeof(AddFileDialog), "AddFileDialog.ico"); panel.ResumeLayout(false); panel2.ResumeLayout(false); panel3.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { Panel panel = new Panel(); Panel panel2 = new Panel(); Panel panel3 = new Panel(); MxLabel label = new MxLabel(); this._factoryListView = new ListView(); this._descriptionLabel = new MxLabel(); this._categoryListBox = new ListBox(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._iconViewButton = new TrackButton(); this._listViewButton = new TrackButton(); panel.SuspendLayout(); panel2.SuspendLayout(); panel3.SuspendLayout(); base.SuspendLayout(); label.Location = new Point(12, 8); label.Size = new Size(0x40, 0x10); label.TabIndex = 0; label.Text = "&Projects:"; this._categoryListBox.IntegralHeight = false; this._categoryListBox.Dock = DockStyle.Fill; this._categoryListBox.BorderStyle = BorderStyle.None; this._categoryListBox.ScrollAlwaysVisible = true; this._categoryListBox.TabIndex = 0; this._categoryListBox.Sorted = true; this._categoryListBox.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedCategoryListBox); panel.BackColor = SystemColors.ControlDark; panel.DockPadding.All = 1; panel.Location = new Point(12, 0x1a); panel.Size = new Size(0x9b, 0xa8); panel.TabIndex = 1; panel.Controls.Add(this._categoryListBox); this._iconViewButton.Size = new Size(0x12, 0x12); this._iconViewButton.Location = new Point(0x163, 6); this._iconViewButton.TabIndex = 2; this._iconViewButton.TabStop = false; this._iconViewButton.Checked = true; this._iconViewButton.Click += new EventHandler(this.OnClickIconViewButton); this._listViewButton.Size = new Size(0x12, 0x12); this._listViewButton.Location = new Point(0x176, 6); this._listViewButton.TabIndex = 3; this._listViewButton.TabStop = false; this._listViewButton.Click += new EventHandler(this.OnClickListViewButton); this._factoryListView.BorderStyle = BorderStyle.None; this._factoryListView.Dock = DockStyle.Fill; this._factoryListView.HideSelection = false; this._factoryListView.MultiSelect = false; this._factoryListView.TabIndex = 0; this._factoryListView.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedFactoryListView); panel2.BackColor = SystemColors.ControlDark; panel2.Controls.Add(this._factoryListView); panel2.DockPadding.All = 1; panel2.Location = new Point(170, 0x1a); panel2.Size = new Size(0xde, 0xa8); panel2.TabIndex = 4; this._descriptionLabel.BackColor = SystemColors.Control; this._descriptionLabel.Dock = DockStyle.Fill; this._descriptionLabel.TabIndex = 0; panel3.BackColor = SystemColors.ControlDark; panel3.Controls.Add(this._descriptionLabel); panel3.DockPadding.All = 1; panel3.Location = new Point(12, 0xc6); panel3.Size = new Size(380, 0x12); panel3.TabIndex = 5; this._okButton.Location = new Point(0xee, 0xe0); this._okButton.TabIndex = 6; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnClickOKButton); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x13e, 0xe0); this._cancelButton.TabIndex = 7; this._cancelButton.Text = "Cancel"; this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x196, 0x100); base.Controls.AddRange(new Control[] { this._cancelButton, this._okButton, panel3, panel2, this._listViewButton, this._iconViewButton, panel, label }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.AcceptButton = this._okButton; base.CancelButton = this._cancelButton; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Add New Project"; base.Icon = new Icon(typeof(AddProjectDialog), "AddProjectDialog.ico"); panel.ResumeLayout(false); panel2.ResumeLayout(false); panel3.ResumeLayout(false); base.ResumeLayout(false); }