private void InitializeComponent() { this._okButton = new MxButton(); this._urlLabel = new MxLabel(); this._urlTextBox = new MxTextBox(); this._cancelButton = new MxButton(); this._descriptionTextBox = new MxTextBox(); this._descriptionLabel = new MxLabel(); base.SuspendLayout(); this._okButton.Location = new Point(0xf4, 60); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 4; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnOKButtonClick); this._urlLabel.Location = new Point(8, 0x24); this._urlLabel.Name = "_urlLabel"; this._urlLabel.Size = new Size(0x24, 15); this._urlLabel.TabIndex = 2; this._urlLabel.Text = "&URL:"; this._urlTextBox.AlwaysShowFocusCues = true; this._urlTextBox.FlatAppearance = true; this._urlTextBox.Location = new Point(0x54, 0x20); this._urlTextBox.Name = "_urlTextBox"; this._urlTextBox.Size = new Size(0x13c, 20); this._urlTextBox.TabIndex = 3; this._urlTextBox.Text = ""; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x144, 60); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 5; this._cancelButton.Text = "Cancel"; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); this._descriptionTextBox.AlwaysShowFocusCues = true; this._descriptionTextBox.FlatAppearance = true; this._descriptionTextBox.Location = new Point(0x54, 8); this._descriptionTextBox.Name = "_descriptionTextBox"; this._descriptionTextBox.Size = new Size(0x13c, 20); this._descriptionTextBox.TabIndex = 1; this._descriptionTextBox.Text = ""; this._descriptionLabel.Location = new Point(8, 12); this._descriptionLabel.Name = "_descriptionLabel"; this._descriptionLabel.Size = new Size(0x41, 0x10); this._descriptionLabel.TabIndex = 0; this._descriptionLabel.Text = "&Description:"; base.AcceptButton = this._okButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x194, 0x58); base.Controls.AddRange(new Control[] { this._cancelButton, this._okButton, this._descriptionTextBox, this._urlTextBox, this._descriptionLabel, this._urlLabel }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "InsertHyperlinkDialog"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Insert Hyperlink"; base.ResumeLayout(false); }
private void InitializeComponent() { this._tabSizeLabel = new MxLabel(); this._tabSizeTextBox = new MxTextBox(); this._convertTabsCheckBox = new MxCheckBox(); this._trimCheckBox = new MxCheckBox(); this._showWhitespaceCheckBox = new MxCheckBox(); this._showLineNumbersCheckBox = new MxCheckBox(); base.SuspendLayout(); this._tabSizeLabel.Location = new Point(8, 0x10); this._tabSizeLabel.Name = "_tabSizeLabel"; this._tabSizeLabel.Size = new Size(0x34, 0x10); this._tabSizeLabel.TabIndex = 0; this._tabSizeLabel.Text = "Tab Size:"; this._tabSizeTextBox.Location = new Point(0x44, 12); this._tabSizeTextBox.Name = "_tabSizeTextBox"; this._tabSizeTextBox.Numeric = true; this._tabSizeTextBox.Size = new Size(0x34, 20); this._tabSizeTextBox.TabIndex = 1; this._tabSizeTextBox.Text = ""; this._tabSizeTextBox.TextChanged += new EventHandler(this.OnValueChanged); this._convertTabsCheckBox.Location = new Point(8, 0x38); this._convertTabsCheckBox.Name = "_convertTabsCheckBox"; this._convertTabsCheckBox.Size = new Size(140, 20); this._convertTabsCheckBox.TabIndex = 2; this._convertTabsCheckBox.Text = "Convert tabs to spaces"; this._convertTabsCheckBox.CheckedChanged += new EventHandler(this.OnValueChanged); this._trimCheckBox.Location = new Point(8, 80); this._trimCheckBox.Name = "_trimCheckBox"; this._trimCheckBox.Size = new Size(160, 20); this._trimCheckBox.TabIndex = 3; this._trimCheckBox.Text = "Trim trailing whitespace"; this._trimCheckBox.CheckedChanged += new EventHandler(this.OnValueChanged); this._showWhitespaceCheckBox.Location = new Point(8, 0x68); this._showWhitespaceCheckBox.Name = "_showWhitespaceCheckBox"; this._showWhitespaceCheckBox.Size = new Size(140, 20); this._showWhitespaceCheckBox.TabIndex = 4; this._showWhitespaceCheckBox.Text = "Show whitespace"; this._showWhitespaceCheckBox.CheckedChanged += new EventHandler(this.OnValueChanged); this._showLineNumbersCheckBox.Location = new Point(8, 0x98); this._showLineNumbersCheckBox.Name = "_showLineNumbersCheckBox"; this._showLineNumbersCheckBox.Size = new Size(140, 20); this._showLineNumbersCheckBox.TabIndex = 4; this._showLineNumbersCheckBox.Text = "Show line numbers"; this._showLineNumbersCheckBox.CheckedChanged += new EventHandler(this.OnValueChanged); base.Controls.Add(this._showLineNumbersCheckBox); base.Controls.Add(this._showWhitespaceCheckBox); base.Controls.Add(this._trimCheckBox); base.Controls.Add(this._convertTabsCheckBox); base.Controls.Add(this._tabSizeTextBox); base.Controls.Add(this._tabSizeLabel); base.Name = "TextLanguageOptionsPage"; base.Size = new Size(0x174, 0xb0); base.ResumeLayout(false); }
private void InitializeUserInterface() { this._iconPictureBox = new PictureBox(); this._entryLabel = new MxLabel(); this._entryTextBox = new MxTextBox(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._iconPictureBox.Location = new Point(12, 12); this._iconPictureBox.Name = "iconPictureBox"; this._iconPictureBox.Size = new Size(0x20, 0x20); this._iconPictureBox.SizeMode = PictureBoxSizeMode.CenterImage; this._iconPictureBox.Image = SystemIcons.Question.ToBitmap(); this._iconPictureBox.TabIndex = 0; this._iconPictureBox.TabStop = false; this._entryLabel.Location = new Point(0x38, 8); this._entryLabel.Name = "_entryLabel"; this._entryLabel.Size = new Size(0x160, 0x20); this._entryLabel.TabIndex = 1; this._entryLabel.Text = "[Entry Name]:"; this._entryTextBox.AlwaysShowFocusCues = true; this._entryTextBox.FlatAppearance = true; this._entryTextBox.Location = new Point(0x38, 0x2c); this._entryTextBox.Name = "_entryTextBox"; this._entryTextBox.Size = new Size(0x160, 20); this._entryTextBox.TabIndex = 1; this._entryTextBox.Text = ""; this._entryTextBox.TextChanged += new EventHandler(this.OnTextChangedEntryText); this._okButton.Enabled = false; this._okButton.Location = new Point(0xf8, 0x4c); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 2; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnClickOKButton); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x14c, 0x4c); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 2; this._cancelButton.Text = "Cancel"; base.AcceptButton = this._okButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(420, 0x6d); base.Controls.AddRange(new Control[] { this._cancelButton, this._okButton, this._entryTextBox, this._entryLabel, this._iconPictureBox }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Icon = null; base.MaximizeBox = false; base.MinimizeBox = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Enter Information"; }
private void InitializeComponent() { this._nameLabel = new MxLabel(); this._typeLabel = new MxLabel(); this._dataReaderRadioButton = new MxRadioButton(); this._dataSetRadioButton = new MxRadioButton(); this._methodNameTextBox = new MxTextBox(); base.SuspendLayout(); this._nameLabel.Location = new Point(8, 12); this._nameLabel.Name = "_nameLabel"; this._nameLabel.Size = new Size(460, 0x1c); this._nameLabel.TabIndex = 0; this._nameLabel.Text = "This CodeBuilder will generate a public method with strongly-typed parameters. What should the method be called?"; this._typeLabel.Location = new Point(8, 0x54); this._typeLabel.Name = "_typeLabel"; this._typeLabel.Size = new Size(460, 0x24); this._typeLabel.TabIndex = 1; this._typeLabel.Text = "The method can return either an System.Data.SqlClient.SqlDataReader or a System.Data.DataSet. Which do you want?"; this._dataReaderRadioButton.Location = new Point(40, 0x90); this._dataReaderRadioButton.Name = "_dataReaderRadioButton"; this._dataReaderRadioButton.Size = new Size(0x68, 0x10); this._dataReaderRadioButton.TabIndex = 2; this._dataReaderRadioButton.Text = "DataReader"; this._dataSetRadioButton.Checked = true; this._dataSetRadioButton.Location = new Point(40, 0x7c); this._dataSetRadioButton.Name = "_dataSetRadioButton"; this._dataSetRadioButton.Size = new Size(0x68, 0x10); this._dataSetRadioButton.TabIndex = 3; this._dataSetRadioButton.TabStop = true; this._dataSetRadioButton.Text = "DataSet"; this._methodNameTextBox.AlwaysShowFocusCues = true; this._methodNameTextBox.Location = new Point(8, 0x2c); this._methodNameTextBox.Name = "_methodNameTextBox"; this._methodNameTextBox.Size = new Size(0x10c, 20); this._methodNameTextBox.TabIndex = 4; this._methodNameTextBox.Text = "MyQueryMethod"; this._methodNameTextBox.TextChanged += new EventHandler(this._methodNameTextBox_TextChanged); base.Controls.AddRange(new Control[] { this._methodNameTextBox, this._dataSetRadioButton, this._dataReaderRadioButton, this._typeLabel, this._nameLabel }); base.Caption = "Name Method"; base.Description = "Enter a name for the method to be generated."; base.Name = "NameMethodPanel"; base.Size = new Size(0x1ec, 0x10c); base.ResumeLayout(false); }
private void InitializeComponent() { this._nameLabel = new MxLabel(); this._methodNameTextBox = new MxTextBox(); base.SuspendLayout(); this._nameLabel.Location = new Point(8, 12); this._nameLabel.Name = "_nameLabel"; this._nameLabel.Size = new Size(460, 0x1c); this._nameLabel.TabIndex = 0; this._nameLabel.Text = "This CodeBuilder will generate a public method with strongly-typed parameters. What should the method be called?"; this._methodNameTextBox.AlwaysShowFocusCues = true; this._methodNameTextBox.Location = new Point(8, 0x2c); this._methodNameTextBox.Name = "_methodNameTextBox"; this._methodNameTextBox.Size = new Size(0x10c, 20); this._methodNameTextBox.TabIndex = 4; this._methodNameTextBox.Text = this.DefaultMethodName; this._methodNameTextBox.TextChanged += new EventHandler(this._methodNameTextBox_TextChanged); base.Controls.AddRange(new Control[] { this._methodNameTextBox, this._nameLabel }); base.Caption = "Name Method"; base.Description = "Enter a name for the method to be generated."; base.Name = "NameDeleteMethodPanel"; base.Size = new Size(0x1ec, 0x10c); base.ResumeLayout(false); }
private void InitializeComponent() { this._findWhatLabel = new MxLabel(); this._findComboBox = new MxComboBox(); this._findButton = new MxButton(); this._matchCaseCheckBox = new MxCheckBox(); this._wholeWordCheckBox = new MxCheckBox(); this._closeButton = new MxButton(); this._directionGroupBox = new MxGroupBox(); this._upRadioButton = new MxRadioButton(); this._downRadioButton = new MxRadioButton(); this._directionGroupBox.SuspendLayout(); base.SuspendLayout(); this._findWhatLabel.Location = new Point(8, 12); this._findWhatLabel.Name = "_findWhatLabel"; this._findWhatLabel.Size = new Size(0x44, 0x10); this._findWhatLabel.TabIndex = 0; this._findWhatLabel.Text = "Fi&nd What :"; this._findComboBox.AlwaysShowFocusCues = false; this._findComboBox.FlatAppearance = false; this._findComboBox.InitialText = null; this._findComboBox.Location = new Point(0x4c, 10); this._findComboBox.Name = "_findComboBox"; this._findComboBox.Size = new Size(0x110, 0x15); this._findComboBox.TabIndex = 1; this._findButton.Enabled = false; this._findButton.Location = new Point(360, 8); this._findButton.Name = "_findButton"; this._findButton.TabIndex = 6; this._findButton.Text = "&Find"; this._findButton.Click += new EventHandler(this._findButton_Click); this._matchCaseCheckBox.Location = new Point(8, 0x2c); this._matchCaseCheckBox.Name = "_matchCaseCheckBox"; this._matchCaseCheckBox.Size = new Size(0x68, 0x10); this._matchCaseCheckBox.TabIndex = 2; this._matchCaseCheckBox.Text = "Match &case"; this._wholeWordCheckBox.Location = new Point(8, 60); this._wholeWordCheckBox.Name = "_wholeWordCheckBox"; this._wholeWordCheckBox.Size = new Size(0x68, 0x10); this._wholeWordCheckBox.TabIndex = 3; this._wholeWordCheckBox.Text = "Whole &word"; this._closeButton.DialogResult = DialogResult.OK; this._closeButton.Location = new Point(360, 0x24); this._closeButton.Name = "_closeButton"; this._closeButton.TabIndex = 7; this._closeButton.Text = "Close"; this._closeButton.Click += new EventHandler(this._closeButton_Click); this._directionGroupBox.Controls.AddRange(new Control[] { this._upRadioButton, this._downRadioButton }); this._directionGroupBox.Location = new Point(0xd8, 40); this._directionGroupBox.Name = "_directionGroupBox"; this._directionGroupBox.Size = new Size(0x84, 0x38); this._directionGroupBox.TabIndex = 0; this._directionGroupBox.TabStop = false; this._directionGroupBox.Text = "Direction"; this._upRadioButton.Location = new Point(8, 0x18); this._upRadioButton.Name = "_upRadioButton"; this._upRadioButton.Size = new Size(0x34, 20); this._upRadioButton.TabIndex = 4; this._upRadioButton.Text = "&Up"; this._downRadioButton.Checked = true; this._downRadioButton.Location = new Point(0x48, 0x18); this._downRadioButton.Name = "_downRadioButton"; this._downRadioButton.Size = new Size(50, 20); this._downRadioButton.TabIndex = 5; this._downRadioButton.TabStop = true; this._downRadioButton.Text = "&Down"; base.AcceptButton = this._findButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._closeButton; base.ClientSize = new Size(0x1bc, 0x66); base.Controls.AddRange(new Control[] { this._directionGroupBox, this._closeButton, this._wholeWordCheckBox, this._matchCaseCheckBox, this._findButton, this._findComboBox, this._findWhatLabel }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Icon = null; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "SearchForm"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Search"; this._directionGroupBox.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this._toLabel = new MxLabel(); this._fromLabel = new MxLabel(); this._subjectLabel = new MxLabel(); this._toTextBox = new MxTextBox(); this._subjectTextBox = new MxTextBox(); this._fromTextBox = new MxTextBox(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._smtpServerLabel = new MxLabel(); this._smtpServerTextBox = new MxTextBox(); this._formatLabel = new MxLabel(); this._textFormatRadioButton = new MxRadioButton(); this._htmlFormatRadioButton = new MxRadioButton(); base.SuspendLayout(); this._toLabel.FlatStyle = FlatStyle.System; this._toLabel.Location = new Point(8, 0x10); this._toLabel.Name = "_toLabel"; this._toLabel.Size = new Size(0x1c, 0x10); this._toLabel.TabIndex = 0; this._toLabel.Text = "&To:"; this._fromLabel.FlatStyle = FlatStyle.System; this._fromLabel.Location = new Point(8, 40); this._fromLabel.Name = "_fromLabel"; this._fromLabel.Size = new Size(40, 0x10); this._fromLabel.TabIndex = 1; this._fromLabel.Text = "&From:"; this._subjectLabel.FlatStyle = FlatStyle.System; this._subjectLabel.Location = new Point(8, 0x40); this._subjectLabel.Name = "_subjectLabel"; this._subjectLabel.Size = new Size(0x30, 0x10); this._subjectLabel.TabIndex = 4; this._subjectLabel.Text = "&Subject:"; this._toTextBox.AlwaysShowFocusCues = true; this._toTextBox.FlatAppearance = true; this._toTextBox.Location = new Point(0x60, 8); this._toTextBox.Name = "_toTextBox"; this._toTextBox.Size = new Size(0x160, 20); this._toTextBox.TabIndex = 1; this._toTextBox.Text = "*****@*****.**"; this._subjectTextBox.AlwaysShowFocusCues = true; this._subjectTextBox.FlatAppearance = true; this._subjectTextBox.Location = new Point(0x60, 0x38); this._subjectTextBox.Name = "_subjectTextBox"; this._subjectTextBox.Size = new Size(0x160, 20); this._subjectTextBox.TabIndex = 5; this._subjectTextBox.Text = "Email Subject"; this._fromTextBox.AlwaysShowFocusCues = true; this._fromTextBox.FlatAppearance = true; this._fromTextBox.Location = new Point(0x60, 0x20); this._fromTextBox.Name = "_fromTextBox"; this._fromTextBox.Size = new Size(0x160, 20); this._fromTextBox.TabIndex = 2; this._fromTextBox.Text = "*****@*****.**"; this._okButton.FlatStyle = FlatStyle.System; this._okButton.Name = "_okButton"; this._okButton.TabIndex = 0; this._cancelButton.FlatStyle = FlatStyle.System; this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 0; this._smtpServerLabel.FlatStyle = FlatStyle.System; this._smtpServerLabel.Location = new Point(8, 120); this._smtpServerLabel.Name = "_smtpServerLabel"; this._smtpServerLabel.Size = new Size(80, 0x10); this._smtpServerLabel.TabIndex = 9; this._smtpServerLabel.Text = "S&MTP Server:"; this._smtpServerTextBox.AlwaysShowFocusCues = true; this._smtpServerTextBox.FlatAppearance = true; this._smtpServerTextBox.Location = new Point(0x60, 120); this._smtpServerTextBox.Name = "_smtpServerTextBox"; this._smtpServerTextBox.Size = new Size(0x160, 20); this._smtpServerTextBox.TabIndex = 10; this._smtpServerTextBox.Text = "localhost"; this._formatLabel.FlatStyle = FlatStyle.System; this._formatLabel.Location = new Point(8, 0x58); this._formatLabel.Name = "_formatLabel"; this._formatLabel.Size = new Size(0x4c, 0x10); this._formatLabel.TabIndex = 6; this._formatLabel.Text = "Mail Format:"; this._textFormatRadioButton.Checked = true; this._textFormatRadioButton.FlatStyle = FlatStyle.System; this._textFormatRadioButton.Location = new Point(0x60, 0x58); this._textFormatRadioButton.Name = "_textFormatRadioButton"; this._textFormatRadioButton.Size = new Size(0x48, 0x10); this._textFormatRadioButton.TabIndex = 7; this._textFormatRadioButton.TabStop = true; this._textFormatRadioButton.Text = "&Plain Text"; this._htmlFormatRadioButton.FlatStyle = FlatStyle.System; this._htmlFormatRadioButton.Location = new Point(0xb0, 0x58); this._htmlFormatRadioButton.Name = "_htmlFormatRadioButton"; this._htmlFormatRadioButton.Size = new Size(0x38, 0x10); this._htmlFormatRadioButton.TabIndex = 8; this._htmlFormatRadioButton.Text = "&HTML"; base.Caption = "Send Email Message"; base.Description = "Generate code to send email using the System.Web.Mail classes."; base.Controls.AddRange(new Control[] { this._htmlFormatRadioButton, this._textFormatRadioButton, this._formatLabel, this._smtpServerTextBox, this._smtpServerLabel, this._fromTextBox, this._subjectTextBox, this._toTextBox, this._subjectLabel, this._fromLabel, this._toLabel }); base.Name = "MailMessageWizardPanel"; base.Size = new Size(0x1c8, 0x98); base.ResumeLayout(false); }
private void InitializeComponent() { this._instructionLabel = new MxLabel(); this._installedFontLabel = new MxLabel(); this._standardFontsLabel = new MxLabel(); this._customFontLabel = new MxLabel(); this._selectedFontLabel = new MxLabel(); this._installedFontList = new ListBox(); this._standardFontsCombo = new ComboBox(); this._customFontTextBox = new TextBox(); this._addInstFontButton = new MxButton(); this._addGenericFontButton = new MxButton(); this._addCustomFontButton = new MxButton(); this._selectedFontList = new ListBox(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._removeFontButton = new ImageButton(); this._sortUpButton = new ImageButton(); this._sortDownButton = new ImageButton(); base.SuspendLayout(); this._instructionLabel.Location = new Point(8, 8); this._instructionLabel.Name = "_instructionLabel"; this._instructionLabel.Size = new Size(0xf4, 0x10); this._instructionLabel.TabIndex = 0; this._instructionLabel.Text = "Create a font sequence in order of preference:"; this._installedFontLabel.Location = new Point(8, 0x20); this._installedFontLabel.Name = "_installedFontLabel"; this._installedFontLabel.Size = new Size(0x7c, 0x10); this._installedFontLabel.TabIndex = 1; this._installedFontLabel.Text = "Installed Fonts:"; this._standardFontsLabel.Location = new Point(8, 110); this._standardFontsLabel.Name = "_standardFontsLabel"; this._standardFontsLabel.Size = new Size(0x7c, 0x10); this._standardFontsLabel.TabIndex = 4; this._standardFontsLabel.Text = "Standard Fonts:"; this._customFontLabel.Location = new Point(8, 160); this._customFontLabel.Name = "_customFontLabel"; this._customFontLabel.Size = new Size(0x7c, 0x10); this._customFontLabel.TabIndex = 7; this._customFontLabel.Text = "Custom Font"; this._selectedFontLabel.Location = new Point(0xc0, 0x20); this._selectedFontLabel.Name = "_selectedFontLabel"; this._selectedFontLabel.Size = new Size(0x80, 0x10); this._selectedFontLabel.TabIndex = 10; this._selectedFontLabel.Text = "Selected Font(s):"; this._installedFontList.IntegralHeight = false; this._installedFontList.Location = new Point(8, 50); this._installedFontList.Name = "_installedFontList"; this._installedFontList.Size = new Size(0x80, 0x38); this._installedFontList.Sorted = true; this._installedFontList.TabIndex = 2; this._installedFontList.DoubleClick += new EventHandler(this.OnClickAddInstalledFont); this._installedFontList.SelectedIndexChanged += new EventHandler(this.OnSelChangeInstalledFont); this._standardFontsCombo.DropDownStyle = ComboBoxStyle.DropDownList; this._standardFontsCombo.Location = new Point(8, 0x80); this._standardFontsCombo.Name = "_standardFontsCombo"; this._standardFontsCombo.Size = new Size(0x80, 0x15); this._standardFontsCombo.TabIndex = 5; this._standardFontsCombo.SelectedIndexChanged += new EventHandler(this.OnSelChangeGenericFont); this._customFontTextBox.Location = new Point(8, 0xb2); this._customFontTextBox.Name = "_customFontTextBox"; this._customFontTextBox.Size = new Size(0x80, 20); this._customFontTextBox.TabIndex = 8; this._customFontTextBox.Text = ""; this._customFontTextBox.TextChanged += new EventHandler(this.OnChangeCustomFont); this._addInstFontButton.Location = new Point(0x90, 0x34); this._addInstFontButton.Name = "_addInstFontButton"; this._addInstFontButton.Size = new Size(0x24, 0x17); this._addInstFontButton.TabIndex = 3; this._addInstFontButton.Text = ">"; this._addInstFontButton.Click += new EventHandler(this.OnClickAddInstalledFont); this._addGenericFontButton.Location = new Point(0x90, 0x80); this._addGenericFontButton.Name = "_addGenericFontButton"; this._addGenericFontButton.Size = new Size(0x24, 0x17); this._addGenericFontButton.TabIndex = 6; this._addGenericFontButton.Text = ">"; this._addGenericFontButton.Click += new EventHandler(this.OnClickAddGenericFont); this._addCustomFontButton.Location = new Point(0x90, 0xb0); this._addCustomFontButton.Name = "_addCustomFontButton"; this._addCustomFontButton.Size = new Size(0x24, 0x17); this._addCustomFontButton.TabIndex = 9; this._addCustomFontButton.Text = ">"; this._addCustomFontButton.Click += new EventHandler(this.OnClickAddCustomFont); this._selectedFontList.IntegralHeight = false; this._selectedFontList.Location = new Point(0xc0, 0x30); this._selectedFontList.Name = "_selectedFontList"; this._selectedFontList.Size = new Size(0x80, 0x98); this._selectedFontList.TabIndex = 11; this._selectedFontList.SelectedIndexChanged += new EventHandler(this.OnSelChangeSelFont); this._okButton.Location = new Point(200, 0xd0); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 15; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnClickOK); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(280, 0xd0); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 0x10; this._cancelButton.Text = "Cancel"; this._removeFontButton.ImageAlign = ContentAlignment.MiddleCenter; this._removeFontButton.Location = new Point(0x144, 0x6a); this._removeFontButton.Name = "_removeFontButton"; this._removeFontButton.Size = new Size(0x19, 0x19); this._removeFontButton.TabIndex = 14; this._removeFontButton.Click += new EventHandler(this.OnClickRemoveFont); this._sortUpButton.Location = new Point(0x144, 0x30); this._sortUpButton.Name = "_sortUpButton"; this._sortUpButton.Size = new Size(0x19, 0x19); this._sortUpButton.TabIndex = 12; this._sortUpButton.Click += new EventHandler(this.OnClickSortUp); this._sortDownButton.Location = new Point(0x144, 0x4d); this._sortDownButton.Name = "_sortDownButton"; this._sortDownButton.Size = new Size(0x19, 0x19); this._sortDownButton.TabIndex = 13; this._sortDownButton.Click += new EventHandler(this.OnClickSortDown); base.AcceptButton = this._okButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x170, 0xef); base.Controls.AddRange(new Control[] { this._cancelButton, this._okButton, this._sortUpButton, this._sortDownButton, this._removeFontButton, this._selectedFontList, this._selectedFontLabel, this._addCustomFontButton, this._customFontTextBox, this._customFontLabel, this._addGenericFontButton, this._standardFontsCombo, this._standardFontsLabel, this._addInstFontButton, this._installedFontList, this._installedFontLabel, this._instructionLabel }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FontPicker"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Font Picker"; base.ResumeLayout(false); }
private void InitializeComponent() { this._addButton = new MxButton(); this._browseButton = new MxButton(); this._removeButton = new MxButton(); this._OKButton = new MxButton(); this._cancelButton = new MxButton(); this._gacLabel = new MxLabel(); this._selectedLabel = new MxLabel(); this._gacList = new ListView(); this._assemblyHeader = new ColumnHeader(); this._versionHeader = new ColumnHeader(); this._selectedList = new ListView(); this._gacAssemblyHeader = new ColumnHeader(); this._gacVersionHeader = new ColumnHeader(); this._gacPanel = new Panel(); this._selectedPanel = new Panel(); this._gacPanel.SuspendLayout(); this._selectedPanel.SuspendLayout(); base.SuspendLayout(); this._addButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._addButton.Enabled = false; this._addButton.Location = new Point(0x198, 0x1a); this._addButton.Name = "_addButton"; this._addButton.TabIndex = 3; this._addButton.Text = "&Add"; this._addButton.Click += new EventHandler(this.OnClickAddButton); this._browseButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._browseButton.Location = new Point(0x198, 0x38); this._browseButton.Name = "_browseButton"; this._browseButton.TabIndex = 4; this._browseButton.Text = "&Browse..."; this._browseButton.Click += new EventHandler(this.OnClickBrowseButton); this._removeButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._removeButton.Location = new Point(0x198, 0xe2); this._removeButton.Name = "_removeButton"; this._removeButton.TabIndex = 8; this._removeButton.Text = "&Remove"; this._removeButton.Click += new EventHandler(this.OnClickRemoveButton); this._removeButton.Enabled = false; this._OKButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._OKButton.Location = new Point(0x146, 360); this._OKButton.Name = "_OKButton"; this._OKButton.TabIndex = 9; this._OKButton.Text = "OK"; this._OKButton.Click += new EventHandler(this.OnClickOKButton); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x198, 360); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 10; this._cancelButton.Text = "Cancel"; this._gacLabel.Location = new Point(8, 8); this._gacLabel.Name = "_gacLabel"; this._gacLabel.Size = new Size(0x10b, 13); this._gacLabel.TabIndex = 0; this._gacLabel.Text = "Select assemblies from the Global Assembly Cache:"; this._selectedLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._selectedLabel.Location = new Point(8, 0xce); this._selectedLabel.Name = "_selectedLabel"; this._selectedLabel.Size = new Size(250, 13); this._selectedLabel.TabIndex = 5; this._selectedLabel.Text = "Selected components:"; this._gacList.BorderStyle = BorderStyle.None; this._gacList.Columns.AddRange(new ColumnHeader[] { this._gacAssemblyHeader, this._gacVersionHeader }); this._gacList.Dock = DockStyle.Fill; this._gacList.FullRowSelect = true; this._gacList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._gacList.HideSelection = false; this._gacList.Location = new Point(1, 1); this._gacList.Name = "_gacList"; this._gacList.Size = new Size(390, 0xa6); this._gacList.Sorting = SortOrder.Ascending; this._gacList.TabIndex = 2; this._gacList.View = View.Details; this._gacList.DoubleClick += new EventHandler(this.OnDoubleClickGacList); this._gacList.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChanged); this._assemblyHeader.Text = "Component"; this._assemblyHeader.Width = 260; this._versionHeader.Text = "Version"; this._versionHeader.Width = 110; this._selectedList.BorderStyle = BorderStyle.None; this._selectedList.Columns.AddRange(new ColumnHeader[] { this._assemblyHeader, this._versionHeader }); this._selectedList.Dock = DockStyle.Fill; this._selectedList.FullRowSelect = true; this._selectedList.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._selectedList.HideSelection = false; this._selectedList.Location = new Point(1, 1); this._selectedList.MultiSelect = false; this._selectedList.Name = "_selectedList"; this._selectedList.Size = new Size(390, 0x7c); this._selectedList.Sorting = SortOrder.Ascending; this._selectedList.TabIndex = 7; this._selectedList.View = View.Details; this._selectedList.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChanged); this._gacAssemblyHeader.Text = "Assembly"; this._gacAssemblyHeader.Width = 260; this._gacVersionHeader.Text = "Version"; this._gacVersionHeader.Width = 110; this._gacPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._gacPanel.BackColor = SystemColors.ControlDark; this._gacPanel.Controls.AddRange(new Control[] { this._gacList }); this._gacPanel.DockPadding.All = 1; this._gacPanel.Location = new Point(8, 0x1a); this._gacPanel.Name = "_gacPanel"; this._gacPanel.Size = new Size(0x188, 0xa8); this._gacPanel.TabIndex = 1; this._selectedPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._selectedPanel.BackColor = SystemColors.ControlDark; this._selectedPanel.Controls.AddRange(new Control[] { this._selectedList }); this._selectedPanel.DockPadding.All = 1; this._selectedPanel.Location = new Point(8, 0xe2); this._selectedPanel.Name = "_selectedPanel"; this._selectedPanel.Size = new Size(0x188, 0x7e); this._selectedPanel.TabIndex = 6; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x1ec, 0x18a); base.Controls.AddRange(new Control[] { this._selectedPanel, this._gacPanel, this._selectedLabel, this._gacLabel, this._cancelButton, this._OKButton, this._removeButton, this._browseButton, this._addButton }); base.Icon = new Icon(typeof(AssemblySelectionDialog), "AssemblySelectionDialog.ico"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AssemblySelectionDialog"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Select Components"; this._gacPanel.ResumeLayout(false); this._selectedPanel.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); }
private void InitializeComponent() { this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._rowsLabel = new MxLabel(); this._columnsLabel = new MxLabel(); this._widthLabel = new MxLabel(); this._heightLabel = new MxLabel(); this._rowTextBox = new MxTextBox(); this._columnsTextBox = new MxTextBox(); this._widthTextBox = new MxTextBox(); this._heightTextBox = new MxTextBox(); base.SuspendLayout(); this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._okButton.Location = new Point(0x80, 0x44); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 8; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnOKButtonClick); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0xd0, 0x44); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 9; this._cancelButton.Text = "Cancel"; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); this._rowsLabel.Location = new Point(8, 0x10); this._rowsLabel.Name = "_rowsLabel"; this._rowsLabel.Size = new Size(0x34, 0x10); this._rowsLabel.TabIndex = 0; this._rowsLabel.Text = "&Rows:"; this._columnsLabel.Location = new Point(8, 40); this._columnsLabel.Name = "_columnsLabel"; this._columnsLabel.Size = new Size(0x34, 0x10); this._columnsLabel.TabIndex = 4; this._columnsLabel.Text = "&Columns:"; this._widthLabel.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._widthLabel.Location = new Point(0xac, 0x10); this._widthLabel.Name = "_widthLabel"; this._widthLabel.Size = new Size(0x24, 0x10); this._widthLabel.TabIndex = 2; this._widthLabel.Text = "&Width:"; this._heightLabel.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._heightLabel.Location = new Point(0xac, 40); this._heightLabel.Name = "_heightLabel"; this._heightLabel.Size = new Size(0x2f, 0x10); this._heightLabel.TabIndex = 6; this._heightLabel.Text = "&Height:"; this._rowTextBox.AlwaysShowFocusCues = true; this._rowTextBox.FlatAppearance = true; this._rowTextBox.Location = new Point(0x44, 12); this._rowTextBox.Name = "_rowTextBox"; this._rowTextBox.Numeric = true; this._rowTextBox.Size = new Size(60, 20); this._rowTextBox.TabIndex = 1; this._rowTextBox.Text = "3"; this._columnsTextBox.AlwaysShowFocusCues = true; this._columnsTextBox.FlatAppearance = true; this._columnsTextBox.Location = new Point(0x44, 0x24); this._columnsTextBox.Name = "_columnsTextBox"; this._columnsTextBox.Numeric = true; this._columnsTextBox.Size = new Size(60, 20); this._columnsTextBox.TabIndex = 5; this._columnsTextBox.Text = "3"; this._widthTextBox.AlwaysShowFocusCues = true; this._widthTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._widthTextBox.FlatAppearance = true; this._widthTextBox.Location = new Point(0xe0, 12); this._widthTextBox.Name = "_widthTextBox"; this._widthTextBox.Numeric = true; this._widthTextBox.Size = new Size(60, 20); this._widthTextBox.TabIndex = 3; this._widthTextBox.Text = "300"; this._heightTextBox.AlwaysShowFocusCues = true; this._heightTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._heightTextBox.FlatAppearance = true; this._heightTextBox.Location = new Point(0xe0, 0x24); this._heightTextBox.Name = "_heightTextBox"; this._heightTextBox.Numeric = true; this._heightTextBox.Size = new Size(60, 20); this._heightTextBox.TabIndex = 7; this._heightTextBox.Text = "150"; base.AcceptButton = this._okButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(290, 100); base.Controls.AddRange(new Control[] { this._heightTextBox, this._widthTextBox, this._columnsTextBox, this._rowTextBox, this._heightLabel, this._widthLabel, this._columnsLabel, this._rowsLabel, this._cancelButton, this._okButton }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "InsertTableDialog"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Insert Table"; base.ResumeLayout(false); }
private void InitializeComponent() { this._selectDatabaseLabel = new MxLabel(); this._databaseComboBox = new MxComboBox(); this._newDatabaseGroupBox = new MxGroupBox(); this._databaseTypeLabel = new MxLabel(); this._databaseTypeComboBox = new MxComboBox(); this._infoLabel = new MxInfoLabel(); this._descriptionLabel = new MxLabel(); this._createButton = new MxButton(); this._newDatabaseGroupBox.SuspendLayout(); base.SuspendLayout(); this._selectDatabaseLabel.Location = new Point(12, 0x40); this._selectDatabaseLabel.Name = "_selectDatabaseLabel"; this._selectDatabaseLabel.Size = new Size(100, 0x10); this._selectDatabaseLabel.TabIndex = 0; this._selectDatabaseLabel.Text = "&Select a database"; this._databaseComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._databaseComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._databaseComboBox.Location = new Point(0x70, 0x3d); this._databaseComboBox.Name = "_databaseComboBox"; this._databaseComboBox.Size = new Size(0x124, 0x15); this._databaseComboBox.TabIndex = 1; this._databaseComboBox.SelectedIndexChanged += new EventHandler(this.OnDatabaseComboBoxSelectedIndexChanged); this._newDatabaseGroupBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._newDatabaseGroupBox.Controls.Add(this._createButton); this._newDatabaseGroupBox.Controls.Add(this._databaseTypeComboBox); this._newDatabaseGroupBox.Controls.Add(this._databaseTypeLabel); this._newDatabaseGroupBox.Enabled = false; this._newDatabaseGroupBox.Location = new Point(12, 0x60); this._newDatabaseGroupBox.Name = "_newDatabaseGroupBox"; this._newDatabaseGroupBox.Size = new Size(0x188, 80); this._newDatabaseGroupBox.TabIndex = 2; this._newDatabaseGroupBox.TabStop = false; this._newDatabaseGroupBox.Text = "Create a &new database connection"; this._databaseTypeLabel.Location = new Point(12, 0x18); this._databaseTypeLabel.Name = "_databaseTypeLabel"; this._databaseTypeLabel.Size = new Size(0x7c, 0x10); this._databaseTypeLabel.TabIndex = 0; this._databaseTypeLabel.Text = "Select a database &type:"; this._databaseTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._databaseTypeComboBox.InitialText = "Select a database type"; this._databaseTypeComboBox.Location = new Point(12, 40); this._databaseTypeComboBox.Name = "_databaseTypeComboBox"; this._databaseTypeComboBox.Size = new Size(0xa4, 0x15); this._databaseTypeComboBox.TabIndex = 1; this._databaseTypeComboBox.SelectedIndexChanged += new EventHandler(this.OnDatabaseTypeComboBoxSelectedIndexChanged); this._infoLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._infoLabel.Location = new Point(12, 0xe8); this._infoLabel.Name = "_infoLabel"; this._infoLabel.Size = new Size(0x188, 60); this._infoLabel.TabIndex = 4; this._infoLabel.Text = ""; this._infoLabel.Visible = false; this._descriptionLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._descriptionLabel.Location = new Point(8, 8); this._descriptionLabel.Name = "_descriptionLabel"; this._descriptionLabel.Size = new Size(0x184, 0x2c); this._descriptionLabel.TabStop = false; this._descriptionLabel.Text = "Use the drop-down to select an existing database connection for your query. If you want to create a new database connection, select the <New Database Connection> option in the drop down, select a database type, and click the 'Create' button."; this._createButton.Enabled = false; this._createButton.Location = new Point(180, 40); this._createButton.Name = "_createButton"; this._createButton.TabIndex = 2; this._createButton.Text = "&Create..."; this._createButton.Click += new EventHandler(this.OnCreateButtonClick); base.Caption = "Select a database connection"; base.Controls.Add(this._descriptionLabel); base.Controls.Add(this._infoLabel); base.Controls.Add(this._newDatabaseGroupBox); base.Controls.Add(this._databaseComboBox); base.Controls.Add(this._selectDatabaseLabel); base.Description = "Select an existing database connection or create a new database connection."; base.Name = "UserControl1"; base.Size = new Size(0x1a0, 0x124); this._newDatabaseGroupBox.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this._infoLabel = new MxLabel(); this._fileNameTextBox = new MxTextBox(); this._browseButton = new MxButton(); base.SuspendLayout(); this._infoLabel.Location = new Point(4, 8); this._infoLabel.Name = "_infoLabel"; this._infoLabel.Size = new Size(0x110, 0x10); this._infoLabel.TabIndex = 0; this._infoLabel.Text = "Select a file:"; this._fileNameTextBox.AlwaysShowFocusCues = true; this._fileNameTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._fileNameTextBox.FlatAppearance = true; this._fileNameTextBox.Location = new Point(4, 0x1c); this._fileNameTextBox.Name = "_fileNameTextBox"; this._fileNameTextBox.Size = new Size(0x150, 20); this._fileNameTextBox.TabIndex = 1; this._fileNameTextBox.Text = ""; this._fileNameTextBox.TextChanged += new EventHandler(this.OnFileNameTextBoxTextChanged); this._browseButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._browseButton.Location = new Point(0x158, 0x1c); this._browseButton.Name = "_browseButton"; this._browseButton.Size = new Size(0x19, 0x17); this._browseButton.TabIndex = 2; this._browseButton.Text = "..."; this._browseButton.Click += new EventHandler(this._browseButton_Click); base.Controls.AddRange(new Control[] { this._browseButton, this._fileNameTextBox, this._infoLabel }); base.Caption = "Export snippets"; base.Description = "Select a snippets file to export."; base.Name = "SaveLibraryPanel"; base.Size = new Size(0x178, 0x48); base.ResumeLayout(false); }
private void InitializeComponent() { this._editPanel = new System.Windows.Forms.Panel(); this._designView = this.CreateTemplateDesignView(); this._templateGroupLabel = new MxLabel(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._templateGroupCombo = new MxComboBox(); this._templateCombo = new MxComboBox(); this._editTemplateLabel = new MxLabel(); this._editPanel.SuspendLayout(); base.SuspendLayout(); this._designView.Dock = DockStyle.Fill; this._editPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._editPanel.BackColor = SystemColors.ControlDark; this._editPanel.Controls.AddRange(new System.Windows.Forms.Control[] { this._designView }); this._editPanel.DockPadding.All = 1; this._editPanel.Location = new Point(12, 0x4c); this._editPanel.Name = "_editPanel"; this._editPanel.Size = new Size(0x194, 0x80); this._editPanel.TabIndex = 5; this._templateGroupLabel.Location = new Point(12, 8); this._templateGroupLabel.Name = "_templateGroupLabel"; this._templateGroupLabel.Size = new Size(0x98, 13); this._templateGroupLabel.TabIndex = 0; this._templateGroupLabel.Text = "Select a Template to edit:"; this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._okButton.Location = new Point(260, 0xd8); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 6; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnClickedOKButton); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(340, 0xd8); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 7; this._cancelButton.Text = "Cancel"; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); this._templateGroupCombo.AlwaysShowFocusCues = true; this._templateGroupCombo.DropDownStyle = ComboBoxStyle.DropDownList; this._templateGroupCombo.DropDownWidth = 0x79; this._templateGroupCombo.FlatAppearance = true; this._templateGroupCombo.InitialText = null; this._templateGroupCombo.Location = new Point(12, 0x18); this._templateGroupCombo.Name = "_templateGroupCombo"; this._templateGroupCombo.Size = new Size(0xc0, 0x15); this._templateGroupCombo.TabIndex = 1; this._templateGroupCombo.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedTemplateGroupCombo); this._templateCombo.AlwaysShowFocusCues = true; this._templateCombo.DropDownStyle = ComboBoxStyle.DropDownList; this._templateCombo.DropDownWidth = 0x79; this._templateCombo.FlatAppearance = true; this._templateCombo.InitialText = null; this._templateCombo.Location = new Point(220, 0x18); this._templateCombo.Name = "_templateCombo"; this._templateCombo.Size = new Size(0xc0, 0x15); this._templateCombo.TabIndex = 3; this._templateCombo.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChangedTemplateCombo); this._editTemplateLabel.Location = new Point(12, 0x38); this._editTemplateLabel.Name = "_editTemplateLabel"; this._editTemplateLabel.Size = new Size(0x74, 13); this._editTemplateLabel.TabIndex = 4; this._editTemplateLabel.Text = "Template Design:"; this.AutoScaleBaseSize = new Size(5, 13); base.FormBorderStyle = FormBorderStyle.SizableToolWindow; base.ClientSize = new Size(0x1a8, 0xf9); base.ControlBox = false; base.Controls.AddRange(new System.Windows.Forms.Control[] { this._editPanel, this._cancelButton, this._okButton, this._editTemplateLabel, this._templateGroupLabel, this._templateCombo, this._templateGroupCombo }); base.Icon = null; base.MinimumSize = new Size(430, 250); base.Name = "TemplateEditingDialog"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this._editPanel.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this._searchStringComboBox = new MxComboBox(); this._replaceStringComboBox = new MxComboBox(); this._replaceButton = new MxButton(); this._replaceAllButton = new MxButton(); this._closeButton = new MxButton(); this._findLabel = new MxLabel(); this._replaceLabel = new MxLabel(); this._findNextButton = new MxButton(); this._matchCaseCheckBox = new MxCheckBox(); this._wholeWordCheckBox = new MxCheckBox(); this._directionGroupBox = new MxGroupBox(); this._downRadioButton = new MxRadioButton(); this._upRadioButton = new MxRadioButton(); this._inSelectionCheckBox = new MxCheckBox(); this._directionGroupBox.SuspendLayout(); base.SuspendLayout(); this._searchStringComboBox.AlwaysShowFocusCues = true; this._searchStringComboBox.FlatAppearance = true; this._searchStringComboBox.InitialText = null; this._searchStringComboBox.Location = new Point(0x5c, 9); this._searchStringComboBox.Name = "_searchStringComboBox"; this._searchStringComboBox.Size = new Size(280, 0x15); this._searchStringComboBox.TabIndex = 1; this._searchStringComboBox.TextChanged += new EventHandler(this.OnSearchStringComboBoxTextChanged); this._replaceStringComboBox.AlwaysShowFocusCues = true; this._replaceStringComboBox.FlatAppearance = true; this._replaceStringComboBox.InitialText = null; this._replaceStringComboBox.Location = new Point(0x5c, 0x25); this._replaceStringComboBox.Name = "_replaceStringComboBox"; this._replaceStringComboBox.Size = new Size(280, 0x15); this._replaceStringComboBox.TabIndex = 2; this._replaceButton.Enabled = false; this._replaceButton.Location = new Point(0x180, 0x24); this._replaceButton.Name = "_replaceButton"; this._replaceButton.TabIndex = 4; this._replaceButton.Text = "&Replace"; this._replaceButton.Click += new EventHandler(this.OnReplaceButtonClick); this._replaceAllButton.Enabled = false; this._replaceAllButton.Location = new Point(0x180, 0x40); this._replaceAllButton.Name = "_replaceAllButton"; this._replaceAllButton.TabIndex = 6; this._replaceAllButton.Text = "Replace &All"; this._replaceAllButton.Click += new EventHandler(this.OnReplaceAllClick); this._closeButton.DialogResult = DialogResult.OK; this._closeButton.Location = new Point(0x180, 0x5c); this._closeButton.Name = "_closeButton"; this._closeButton.TabIndex = 10; this._closeButton.Text = "&Close"; this._findLabel.Location = new Point(12, 12); this._findLabel.Name = "_findLabel"; this._findLabel.Size = new Size(60, 0x10); this._findLabel.TabIndex = 5; this._findLabel.Text = "Fi&nd what :"; this._replaceLabel.Location = new Point(12, 40); this._replaceLabel.Name = "_replaceLabel"; this._replaceLabel.Size = new Size(0x4c, 0x10); this._replaceLabel.TabIndex = 6; this._replaceLabel.Text = "Re&place with :"; this._findNextButton.Enabled = false; this._findNextButton.Location = new Point(0x180, 8); this._findNextButton.Name = "_findNextButton"; this._findNextButton.TabIndex = 3; this._findNextButton.Text = "&Find Next"; this._findNextButton.Click += new EventHandler(this.OnFindButtonClick); this._matchCaseCheckBox.Location = new Point(12, 0x44); this._matchCaseCheckBox.Name = "_matchCaseCheckBox"; this._matchCaseCheckBox.Size = new Size(0x58, 0x10); this._matchCaseCheckBox.TabIndex = 7; this._matchCaseCheckBox.Text = "&Match case"; this._wholeWordCheckBox.Location = new Point(12, 0x54); this._wholeWordCheckBox.Name = "_wholeWordCheckBox"; this._wholeWordCheckBox.Size = new Size(0x58, 0x10); this._wholeWordCheckBox.TabIndex = 8; this._wholeWordCheckBox.Text = "&Whole word"; this._directionGroupBox.Controls.AddRange(new Control[] { this._downRadioButton, this._upRadioButton }); this._directionGroupBox.Location = new Point(0xec, 0x40); this._directionGroupBox.Name = "_directionGroupBox"; this._directionGroupBox.Size = new Size(0x88, 0x34); this._directionGroupBox.TabIndex = 10; this._directionGroupBox.TabStop = false; this._directionGroupBox.Text = "Direction"; this._downRadioButton.Checked = true; this._downRadioButton.Location = new Point(0x48, 0x18); this._downRadioButton.Name = "_downRadioButton"; this._downRadioButton.Size = new Size(0x34, 0x10); this._downRadioButton.TabIndex = 11; this._downRadioButton.TabStop = true; this._downRadioButton.Text = "&Down"; this._upRadioButton.Location = new Point(0x10, 0x18); this._upRadioButton.Name = "_upRadioButton"; this._upRadioButton.Size = new Size(40, 0x10); this._upRadioButton.TabIndex = 10; this._upRadioButton.Text = "&Up"; this._inSelectionCheckBox.Location = new Point(12, 100); this._inSelectionCheckBox.Name = "_inSelectionCheckBox"; this._inSelectionCheckBox.Size = new Size(0x58, 0x10); this._inSelectionCheckBox.TabIndex = 11; this._inSelectionCheckBox.Text = "&In selection"; this._inSelectionCheckBox.CheckedChanged += new EventHandler(this.OnInSelectionCheckBoxCheckedChanged); base.AcceptButton = this._findNextButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._closeButton; base.ClientSize = new Size(0x1d8, 0x7a); base.Controls.AddRange(new Control[] { this._inSelectionCheckBox, this._directionGroupBox, this._wholeWordCheckBox, this._matchCaseCheckBox, this._findNextButton, this._replaceLabel, this._findLabel, this._closeButton, this._replaceAllButton, this._replaceButton, this._replaceStringComboBox, this._searchStringComboBox }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ReplaceDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Replace"; this._directionGroupBox.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { PictureBox box = new PictureBox(); MxLabel label = new MxLabel(); MxButton button = new MxButton(); MxButton button2 = new MxButton(); this._exceptionLabel = new MxLabel(); this._sendFeedbackButton = new MxButton(); this._detailsButton = new MxButton(); this._detailsTextBox = new MxTextBox(); base.SuspendLayout(); box.Location = new Point(4, 8); box.Size = new Size(0x40, 0x40); box.SizeMode = PictureBoxSizeMode.CenterImage; box.TabIndex = 0; box.TabStop = false; box.Image = SystemIcons.Error.ToBitmap(); label.Location = new Point(0x48, 8); label.Size = new Size(0x170, 0x60); label.TabIndex = 1; label.Text = "An unhandled exception has occurred in the application.\nClick \"Send Feedback\" to submit a bug report with exception details.\nClick \"Continue\" to ignore the error and attempt to continue running the application.\nClick \"Quit\" to end the application immediately."; this._exceptionLabel.Location = new Point(0x48, 0x70); this._exceptionLabel.Size = new Size(0x170, 0x2c); this._exceptionLabel.TabIndex = 2; this._exceptionLabel.Text = "[Exception Message]"; this._sendFeedbackButton.Location = new Point(8, 0xa8); this._sendFeedbackButton.Size = new Size(0x68, 0x17); this._sendFeedbackButton.TabIndex = 3; this._sendFeedbackButton.Text = "Send Feedback..."; this._sendFeedbackButton.Click += new EventHandler(this.OnClickSendFeedbackButton); button.DialogResult = DialogResult.OK; button.Location = new Point(0xd0, 0xa8); button.TabIndex = 4; button.Text = "Continue"; button.Click += new EventHandler(this.OnClickContinueButton); button2.Location = new Point(0x120, 0xa8); button2.TabIndex = 5; button2.Text = "Quit"; button2.Click += new EventHandler(this.OnClickQuitButton); this._detailsButton.Location = new Point(0x170, 0xa8); this._detailsButton.TabIndex = 6; this._detailsButton.Text = "Details >>"; this._detailsButton.Click += new EventHandler(this.OnClickDetailsButton); this._detailsTextBox.Location = new Point(4, 200); this._detailsTextBox.Multiline = true; this._detailsTextBox.ReadOnly = true; this._detailsTextBox.ScrollBars = ScrollBars.Both; this._detailsTextBox.Size = new Size(440, 0xd0); this._detailsTextBox.TabIndex = 7; this._detailsTextBox.TabStop = false; this._detailsTextBox.Text = ""; this._detailsTextBox.WordWrap = false; base.AcceptButton = button; this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(0x1c0, 0xc7); base.Controls.AddRange(new Control[] { this._detailsTextBox, this._detailsButton, button2, button, this._sendFeedbackButton, this._exceptionLabel, label, box }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Unhandled Exception"; base.Icon = null; base.ResumeLayout(false); }
private void InitializeComponent() { this._imagePictureBox = new PictureBox(); this._nameLabel = new MxLabel(); this._authorLabel = new MxLabel(); this._versionLabel = new MxLabel(); this._detailTabControl = new Microsoft.Matrix.UIComponents.TabControl(); this._summaryTabPage = new Microsoft.Matrix.UIComponents.TabPage(); this._descriptionUrlLinkLabel = new LinkLabel(); this._ratingLabel = new MxLabel(); this._downloadCountLabel = new MxLabel(); this._dateReleasedLabel = new MxLabel(); this._sizeLabel = new MxLabel(); this._descriptionTextBox = new MxTextBox(); this._averageRatingLabelLabel = new MxLabel(); this._sizeLabelLabel = new MxLabel(); this._downloadCountLabelLabel = new MxLabel(); this._dateLabelLabel = new MxLabel(); this._fullDescriptionUrlLabelLabel = new MxLabel(); this._descriptionLabelLabel = new MxLabel(); this._detailsTabPage = new Microsoft.Matrix.UIComponents.TabPage(); this._packageContentsTextBox = new MxTextBox(); this._packageContentsLabel = new MxLabel(); this._communityTabPage = new Microsoft.Matrix.UIComponents.TabPage(); this._discussionUrlLinkLabel = new LinkLabel(); this._discussionUrlLabel = new MxLabel(); this._reviewsLabel = new MxLabel(); this._reviewTextBox = new MxTextBox(); this._downloadButton = new MxButton(); this._cancelButton = new MxButton(); this._previewTabPage = new Microsoft.Matrix.UIComponents.TabPage(); this._previewPictureBox = new PictureBox(); this._detailTabControl.SuspendLayout(); this._summaryTabPage.SuspendLayout(); this._detailsTabPage.SuspendLayout(); this._communityTabPage.SuspendLayout(); this._previewTabPage.SuspendLayout(); base.SuspendLayout(); this._imagePictureBox.Location = new Point(8, 8); this._imagePictureBox.Name = "_imagePictureBox"; this._imagePictureBox.Size = new Size(0x20, 0x20); this._imagePictureBox.TabIndex = 0; this._imagePictureBox.TabStop = false; this._nameLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._nameLabel.Location = new Point(0x38, 8); this._nameLabel.Name = "_nameLabel"; this._nameLabel.Size = new Size(0x130, 0x10); this._nameLabel.TabIndex = 0; this._authorLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._authorLabel.Location = new Point(0x38, 40); this._authorLabel.Name = "_authorLabel"; this._authorLabel.Size = new Size(0x130, 0x10); this._authorLabel.TabIndex = 0; this._versionLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._versionLabel.Location = new Point(0x38, 0x18); this._versionLabel.Name = "_versionLabel"; this._versionLabel.Size = new Size(0x130, 0x10); this._versionLabel.TabIndex = 0; this._detailTabControl.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._detailTabControl.Controls.AddRange(new Control[] { this._summaryTabPage, this._detailsTabPage, this._previewTabPage, this._communityTabPage }); this._detailTabControl.Location = new Point(4, 0x40); this._detailTabControl.Name = "_detailTabControl"; this._detailTabControl.SelectedIndex = 0; this._detailTabControl.Size = new Size(0x170, 0x144); this._detailTabControl.TabIndex = 1; this._detailTabControl.Mode = TabControlMode.TextOnly; this._summaryTabPage.Controls.AddRange(new Control[] { this._descriptionUrlLinkLabel, this._ratingLabel, this._downloadCountLabel, this._dateReleasedLabel, this._sizeLabel, this._descriptionTextBox, this._averageRatingLabelLabel, this._sizeLabelLabel, this._downloadCountLabelLabel, this._dateLabelLabel, this._fullDescriptionUrlLabelLabel, this._descriptionLabelLabel }); this._summaryTabPage.Dock = DockStyle.Fill; this._summaryTabPage.Location = new Point(4, 0x16); this._summaryTabPage.Name = "_summaryTabPage"; this._summaryTabPage.Size = new Size(360, 0x12a); this._summaryTabPage.TabIndex = 0; this._summaryTabPage.TabStop = true; this._summaryTabPage.Text = "Summary"; this._descriptionUrlLinkLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._descriptionUrlLinkLabel.Location = new Point(8, 0xf8); this._descriptionUrlLinkLabel.Name = "_descriptionUrlLinkLabel"; this._descriptionUrlLinkLabel.Size = new Size(0x158, 0x2c); this._descriptionUrlLinkLabel.TabIndex = 2; this._descriptionUrlLinkLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(this.UrlLinkLabel_LinkClicked); this._ratingLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._ratingLabel.Location = new Point(100, 0xd0); this._ratingLabel.Name = "_ratingLabel"; this._ratingLabel.Size = new Size(0xfc, 0x10); this._ratingLabel.TabIndex = 0; this._downloadCountLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._downloadCountLabel.Location = new Point(100, 0xbc); this._downloadCountLabel.Name = "_downloadCountLabel"; this._downloadCountLabel.Size = new Size(0xfc, 0x10); this._downloadCountLabel.TabIndex = 0; this._dateReleasedLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._dateReleasedLabel.Location = new Point(100, 0xa8); this._dateReleasedLabel.Name = "_dateReleasedLabel"; this._dateReleasedLabel.Size = new Size(0xfc, 0x10); this._dateReleasedLabel.TabIndex = 0; this._sizeLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._sizeLabel.Location = new Point(100, 0x94); this._sizeLabel.Name = "_sizeLabel"; this._sizeLabel.Size = new Size(0xfc, 0x10); this._sizeLabel.TabIndex = 0; this._descriptionTextBox.AlwaysShowFocusCues = true; this._descriptionTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._descriptionTextBox.BorderStyle = BorderStyle.None; this._descriptionTextBox.FlatAppearance = true; this._descriptionTextBox.Location = new Point(8, 0x20); this._descriptionTextBox.Multiline = true; this._descriptionTextBox.Name = "_descriptionTextBox"; this._descriptionTextBox.ReadOnly = true; this._descriptionTextBox.ScrollBars = ScrollBars.Vertical; this._descriptionTextBox.Size = new Size(0x158, 0x68); this._descriptionTextBox.TabIndex = 1; this._descriptionTextBox.Text = ""; this._descriptionTextBox.WordWrap = true; this._averageRatingLabelLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._averageRatingLabelLabel.Location = new Point(8, 0xd0); this._averageRatingLabelLabel.Name = "_averageRatingLabelLabel"; this._averageRatingLabelLabel.Size = new Size(0x58, 0x10); this._averageRatingLabelLabel.TabIndex = 0; this._averageRatingLabelLabel.Text = "Rating:"; this._sizeLabelLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._sizeLabelLabel.Location = new Point(8, 0x94); this._sizeLabelLabel.Name = "_sizeLabelLabel"; this._sizeLabelLabel.Size = new Size(0x58, 0x10); this._sizeLabelLabel.TabIndex = 0; this._sizeLabelLabel.Text = "Size:"; this._downloadCountLabelLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._downloadCountLabelLabel.Location = new Point(8, 0xbc); this._downloadCountLabelLabel.Name = "_downloadCountLabelLabel"; this._downloadCountLabelLabel.Size = new Size(0x58, 0x10); this._downloadCountLabelLabel.TabIndex = 0; this._downloadCountLabelLabel.Text = "Downloads:"; this._dateLabelLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._dateLabelLabel.Location = new Point(8, 0xa8); this._dateLabelLabel.Name = "_dateLabelLabel"; this._dateLabelLabel.Size = new Size(0x58, 0x10); this._dateLabelLabel.TabIndex = 0; this._dateLabelLabel.Text = "Date Submitted:"; this._fullDescriptionUrlLabelLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._fullDescriptionUrlLabelLabel.Location = new Point(8, 0xe4); this._fullDescriptionUrlLabelLabel.Name = "_fullDescriptionUrlLabelLabel"; this._fullDescriptionUrlLabelLabel.Size = new Size(40, 0x10); this._fullDescriptionUrlLabelLabel.TabIndex = 0; this._fullDescriptionUrlLabelLabel.Text = "URL:"; this._descriptionLabelLabel.Location = new Point(8, 12); this._descriptionLabelLabel.Name = "_descriptionLabelLabel"; this._descriptionLabelLabel.Size = new Size(0x44, 0x10); this._descriptionLabelLabel.TabIndex = 0; this._descriptionLabelLabel.Text = "Description:"; this._detailsTabPage.Controls.AddRange(new Control[] { this._packageContentsTextBox, this._packageContentsLabel }); this._detailsTabPage.Dock = DockStyle.Fill; this._detailsTabPage.Location = new Point(4, 0x16); this._detailsTabPage.Name = "_detailsTabPage"; this._detailsTabPage.Size = new Size(360, 0x12a); this._detailsTabPage.TabIndex = 1; this._detailsTabPage.TabStop = true; this._detailsTabPage.Text = "Details"; this._packageContentsTextBox.AlwaysShowFocusCues = true; this._packageContentsTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._packageContentsTextBox.BorderStyle = BorderStyle.None; this._packageContentsTextBox.FlatAppearance = true; this._packageContentsTextBox.Location = new Point(8, 0x20); this._packageContentsTextBox.Multiline = true; this._packageContentsTextBox.Name = "_packageContentsTextBox"; this._packageContentsTextBox.ReadOnly = true; this._packageContentsTextBox.ScrollBars = ScrollBars.Vertical; this._packageContentsTextBox.Size = new Size(0x158, 0xf8); this._packageContentsTextBox.TabIndex = 1; this._packageContentsTextBox.Text = ""; this._packageContentsLabel.Location = new Point(8, 12); this._packageContentsLabel.Name = "_packageContentsLabel"; this._packageContentsLabel.Size = new Size(0x68, 0x10); this._packageContentsLabel.TabIndex = 0; this._packageContentsLabel.Text = "Package Contents:"; this._communityTabPage.Controls.AddRange(new Control[] { this._discussionUrlLinkLabel, this._discussionUrlLabel, this._reviewsLabel, this._reviewTextBox }); this._communityTabPage.Dock = DockStyle.Fill; this._communityTabPage.Location = new Point(4, 0x16); this._communityTabPage.Name = "_communityTabPage"; this._communityTabPage.Size = new Size(360, 0x12a); this._communityTabPage.TabIndex = 1; this._communityTabPage.TabStop = true; this._communityTabPage.Text = "Community"; this._discussionUrlLinkLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._discussionUrlLinkLabel.Location = new Point(8, 0xf8); this._discussionUrlLinkLabel.Name = "_discussionUrlLinkLabel"; this._discussionUrlLinkLabel.Size = new Size(0x158, 40); this._discussionUrlLinkLabel.TabIndex = 2; this._discussionUrlLinkLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(this.UrlLinkLabel_LinkClicked); this._discussionUrlLabel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._discussionUrlLabel.Location = new Point(8, 0xe4); this._discussionUrlLabel.Name = "_discussionUrlLabel"; this._discussionUrlLabel.Size = new Size(0x60, 0x10); this._discussionUrlLabel.TabIndex = 0; this._discussionUrlLabel.Text = "Dicussion Forum:"; this._reviewsLabel.Location = new Point(8, 12); this._reviewsLabel.Name = "_reviewsLabel"; this._reviewsLabel.Size = new Size(80, 0x10); this._reviewsLabel.TabIndex = 0; this._reviewsLabel.Text = "User Reviews:"; this._reviewTextBox.AlwaysShowFocusCues = true; this._reviewTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._reviewTextBox.BorderStyle = BorderStyle.None; this._reviewTextBox.FlatAppearance = true; this._reviewTextBox.Location = new Point(8, 0x20); this._reviewTextBox.Multiline = true; this._reviewTextBox.Name = "_reviewTextBox"; this._reviewTextBox.ReadOnly = true; this._reviewTextBox.ScrollBars = ScrollBars.Vertical; this._reviewTextBox.Size = new Size(0x158, 0xb8); this._reviewTextBox.TabIndex = 1; this._reviewTextBox.Text = ""; this._downloadButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._downloadButton.Location = new Point(0xd0, 0x18c); this._downloadButton.Name = "_downloadButton"; this._downloadButton.TabIndex = 2; this._downloadButton.Text = "Install"; this._downloadButton.Click += new EventHandler(this._downloadButton_Click); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x124, 0x18c); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 3; this._cancelButton.Text = "Close"; this._previewTabPage.Controls.AddRange(new Control[] { this._previewPictureBox }); this._previewTabPage.Location = new Point(4, 0x16); this._previewTabPage.Name = "_previewTabPage"; this._previewTabPage.Size = new Size(360, 0x12a); this._previewTabPage.TabIndex = 2; this._previewTabPage.Text = "Preview"; this._previewPictureBox.Dock = DockStyle.Fill; this._previewPictureBox.Name = "_previewPictureBox"; this._previewPictureBox.Size = new Size(360, 0x12a); this._previewPictureBox.TabIndex = 0; this._previewPictureBox.TabStop = false; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x178, 430); base.Controls.AddRange(new Control[] { this._cancelButton, this._downloadButton, this._detailTabControl, this._versionLabel, this._authorLabel, this._nameLabel, this._imagePictureBox }); base.Icon = new Icon(typeof(ComponentDetailsDialog), "ComponentGallery.ico"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "ComponentDetailsDialog"; base.SizeGripStyle = SizeGripStyle.Hide; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Component Details"; this._detailTabControl.ResumeLayout(false); this._summaryTabPage.ResumeLayout(false); this._detailsTabPage.ResumeLayout(false); this._communityTabPage.ResumeLayout(false); this._previewTabPage.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { Microsoft.Matrix.UIComponents.TabControl control = new Microsoft.Matrix.UIComponents.TabControl(); Microsoft.Matrix.UIComponents.TabPage page = new Microsoft.Matrix.UIComponents.TabPage(); Microsoft.Matrix.UIComponents.TabPage page2 = new Microsoft.Matrix.UIComponents.TabPage(); Microsoft.Matrix.UIComponents.TabPage page3 = null; MxButton button = null; MxButton button2 = new MxButton(); this._infoGrid = new PropertyGrid(); this._assemblyListView = new MxListView(); control.SetBounds(4, 4, 0x1ec, 0x116); control.Mode = TabControlMode.TextOnly; control.TabPlacement = TabPlacement.Top; control.TabIndex = 0; control.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; if (this._sendFeedbackMode) { MxLabel label = new MxLabel(); MxLabel label2 = new MxLabel(); MxLabel label3 = new MxLabel(); MxLabel label4 = new MxLabel(); label.Text = "&Subject:"; label.TabStop = false; label.TabIndex = 0; label.SetBounds(4, 6, 100, 0x10); this._messageSubjectText = new MxTextBox(); this._messageSubjectText.TabIndex = 1; this._messageSubjectText.FlatAppearance = true; this._messageSubjectText.AlwaysShowFocusCues = true; this._messageSubjectText.SetBounds(0x6c, 4, 260, 0x15); label3.TabIndex = 2; label3.Text = "(Optional)"; label3.SetBounds(0x174, 6, 100, 0x10); if (this._exception == null) { label3.Visible = false; } label2.Text = "&Email Address:"; label2.TabStop = false; label2.TabIndex = 3; label2.SetBounds(4, 0x1f, 100, 0x10); this._userEmailText = new MxTextBox(); this._userEmailText.TabIndex = 4; this._userEmailText.FlatAppearance = true; this._userEmailText.AlwaysShowFocusCues = true; this._userEmailText.SetBounds(0x6c, 0x1d, 260, 0x15); label4.TabIndex = 2; label4.Text = "(Optional)"; label4.SetBounds(0x174, 0x1f, 100, 0x10); Panel panel = new Panel(); panel.TabIndex = 0; panel.Height = 0x36; panel.Dock = DockStyle.Top; panel.BackColor = SystemColors.Control; panel.Controls.AddRange(new Control[] { label, this._messageSubjectText, label3, label2, this._userEmailText, label4 }); this._messageText = new MxTextBox(); this._messageText.Dock = DockStyle.Fill; this._messageText.Multiline = true; this._messageText.AcceptsReturn = true; this._messageText.AcceptsTab = true; this._messageText.WordWrap = true; this._messageText.TabIndex = 0; this._messageText.Text = this._feedbackMessage; this._messageText.BorderStyle = BorderStyle.None; Panel panel2 = new Panel(); panel2.TabIndex = 1; panel2.DockPadding.All = 1; panel2.BackColor = SystemColors.ControlDark; panel2.Dock = DockStyle.Fill; panel2.Controls.Add(this._messageText); page3 = new Microsoft.Matrix.UIComponents.TabPage(); page3.TabIndex = 4; page3.Text = "Feedback"; page3.Controls.Add(panel2); page3.Controls.Add(panel); button = new MxButton(); button.SetBounds(340, 0x120, 0x4b, 0x17); button.TabIndex = 1; button.Text = "Send"; button.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; button.Click += new EventHandler(this.OnClickSendFeedbackButton); } page.TabIndex = 1; page.Text = "Information"; page2.TabIndex = 2; page2.Text = "Loaded Assemblies"; page2.BackColor = SystemColors.ControlDark; page2.DockPadding.All = 1; if (this._sendFeedbackMode) { control.Controls.Add(page3); } control.Controls.Add(page); control.Controls.Add(page2); button2.DialogResult = DialogResult.OK; button2.SetBounds(0x1a5, 0x120, 0x4b, 0x17); button2.TabIndex = 2; button2.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; if (this._sendFeedbackMode) { button2.Text = "Close"; } else { button2.Text = "OK"; } this._infoGrid.ToolbarVisible = false; this._infoGrid.Dock = DockStyle.Fill; this._infoGrid.TabIndex = 0; this._assemblyListView.BorderStyle = BorderStyle.None; this._assemblyListView.FullRowSelect = true; this._assemblyListView.View = View.Details; this._assemblyListView.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._assemblyListView.FlatScrollBars = true; this._assemblyListView.ShowToolTips = true; this._assemblyListView.Dock = DockStyle.Fill; this._assemblyListView.TabIndex = 0; ColumnHeader header = new ColumnHeader(); header.Text = "Name"; header.TextAlign = HorizontalAlignment.Left; header.Width = 150; ColumnHeader header2 = new ColumnHeader(); header2.Text = "Version"; header2.TextAlign = HorizontalAlignment.Left; header2.Width = 0x4b; ColumnHeader header3 = new ColumnHeader(); header3.Text = "Location"; header3.TextAlign = HorizontalAlignment.Left; header3.Width = 250; this._assemblyListView.Columns.AddRange(new ColumnHeader[] { header, header2, header3 }); if (this._sendFeedbackMode) { this.Text = "Send Feedback"; base.Icon = new Icon(typeof(ApplicationInfoDialog), "Feedback.ico"); } else { this.Text = "Application Information"; base.Icon = new Icon(typeof(ApplicationInfoDialog), "ApplicationInfoDialog.ico"); } base.MaximizeBox = false; base.MinimizeBox = false; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; base.AcceptButton = button2; base.CancelButton = button2; base.ClientSize = new Size(500, 0x13d); base.MinimumSize = new Size(500, 340); page.Controls.Add(this._infoGrid); page2.Controls.Add(this._assemblyListView); base.Controls.Add(control); if (this._sendFeedbackMode) { base.Controls.Add(button); } base.Controls.Add(button2); }
private void InitializeComponent() { this._groupListHolder = new Panel(); this._groupList = new GroupViewListView(); this._propGrid = new PropertyGrid(); this._previewHolder = new Panel(); this._preview = new HtmlControl(base.ServiceProvider); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._previewLabel = new MxLabel(); this._instructionLabel = new MxLabel(); this._groupListHolder.SuspendLayout(); base.SuspendLayout(); this._groupListHolder.BackColor = SystemColors.ControlDark; this._groupListHolder.Controls.AddRange(new Control[] { this._groupList }); this._groupListHolder.DockPadding.All = 1; this._groupListHolder.Location = new Point(8, 30); this._groupListHolder.Name = "_groupListHolder"; this._groupListHolder.Size = new Size(0x70, 0xf8); this._groupListHolder.TabIndex = 1; this._groupList.BackColor = SystemColors.Window; this._groupList.Dock = DockStyle.Fill; this._groupList.Location = new Point(1, 1); this._groupList.FullRowSelect = true; this._groupList.Name = "_groupList"; this._groupList.Size = new Size(110, 0xf6); this._groupList.TabIndex = 0; this._groupList.SelectedIndexChanged += new EventHandler(this.OnGroupListSelectedIndexChanged); this._propGrid.CommandsVisibleIfAvailable = false; this._propGrid.LargeButtons = false; this._propGrid.LineColor = SystemColors.Control; this._propGrid.Location = new Point(0x7c, 30); this._propGrid.Name = "_propGrid"; this._propGrid.PropertySort = PropertySort.Categorized; this._propGrid.Size = new Size(0x164, 0xf8); this._propGrid.TabIndex = 2; this._propGrid.ToolbarVisible = false; this._propGrid.BackColor = SystemColors.Control; this._propGrid.ViewBackColor = SystemColors.Window; this._propGrid.ViewForeColor = SystemColors.WindowText; this._propGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(this.OnPropGridPropertyValueChanged); this._previewHolder.BackColor = SystemColors.ControlDark; this._previewHolder.Location = new Point(8, 310); this._previewHolder.Controls.AddRange(new Control[] { this._preview }); this._previewHolder.DockPadding.All = 1; this._previewHolder.Name = "_previewHolder"; this._previewHolder.Size = new Size(0x1d8, 0x40); this._previewHolder.TabIndex = 4; this._previewHolder.TabStop = false; this._preview.Location = new Point(1, 1); this._preview.Name = "_preview"; this._preview.Size = new Size(470, 0x3e); this._preview.ScrollBarsEnabled = false; this._preview.TabIndex = 0; this._preview.TabStop = false; this._okButton.Location = new Point(0x144, 0x180); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 5; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnOKButtonClicked); this._cancelButton.Location = new Point(0x194, 0x180); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 6; this._cancelButton.Text = "Cancel"; this._previewLabel.Location = new Point(8, 0x124); this._previewLabel.Name = "_previewLabel"; this._previewLabel.Size = new Size(100, 0x10); this._previewLabel.TabIndex = 3; this._previewLabel.Text = "Preview:"; this._instructionLabel.Location = new Point(8, 12); this._instructionLabel.Name = "_instructionLabel"; this._instructionLabel.Size = new Size(240, 0x10); this._instructionLabel.TabIndex = 0; this._instructionLabel.Text = "Edit CSS style attributes:"; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(490, 0x19d); base.Controls.AddRange(new Control[] { this._instructionLabel, this._previewLabel, this._cancelButton, this._okButton, this._previewHolder, this._groupListHolder, this._propGrid }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "StyleBuilder"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "StyleBuilder"; this._groupListHolder.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this._gradientBand = new GradientBand(); this._siteTextBox = new MxTextBox(); this._portTextBox = new MxTextBox(); this._userNameTextBox = new MxTextBox(); this._passwordTextBox = new MxTextBox(); this._httpRootTextBox = new MxTextBox(); this._httpUrlTextBox = new MxTextBox(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._siteLabel = new MxLabel(); this._portLabel = new MxLabel(); this._userNameLabel = new MxLabel(); this._passwordLabel = new MxLabel(); this._httpRootLabel = new MxLabel(); this._httpUrlLabel = new MxLabel(); this._httpGroup = new GroupBox(); this._httpInfoLabel = new Label(); this._httpGroup.SuspendLayout(); base.SuspendLayout(); this._gradientBand.EndColor = Color.FromArgb(0xcc, 0xec, 0xff); this._gradientBand.GradientSpeed = 1; this._gradientBand.Location = new Point(0, 0x38); this._gradientBand.Name = "_gradientBand"; this._gradientBand.ScrollSpeed = 6; this._gradientBand.Size = new Size(0x1b0, 4); this._gradientBand.StartColor = Color.FromArgb(0, 0x33, 0x87); this._gradientBand.TabIndex = 0; this._gradientBand.Visible = false; this._siteTextBox.AlwaysShowFocusCues = true; this._siteTextBox.FlatAppearance = true; this._siteTextBox.Location = new Point(0x6c, 0x48); this._siteTextBox.Name = "_siteTextBox"; this._siteTextBox.Size = new Size(240, 20); this._siteTextBox.TabIndex = 2; this._siteTextBox.Text = ""; this._siteTextBox.TextChanged += new EventHandler(this.OnTextChangedEntry); this._portTextBox.AlwaysShowFocusCues = true; this._portTextBox.FlatAppearance = true; this._portTextBox.Location = new Point(0x6c, 0x60); this._portTextBox.Name = "_portTextBox"; this._portTextBox.Numeric = true; this._portTextBox.Size = new Size(60, 20); this._portTextBox.TabIndex = 4; this._portTextBox.Text = "21"; this._userNameTextBox.AlwaysShowFocusCues = true; this._userNameTextBox.FlatAppearance = true; this._userNameTextBox.Location = new Point(0x6c, 0x80); this._userNameTextBox.Name = "_userNameTextBox"; this._userNameTextBox.Size = new Size(240, 20); this._userNameTextBox.TabIndex = 6; this._userNameTextBox.Text = ""; this._userNameTextBox.TextChanged += new EventHandler(this.OnTextChangedEntry); this._passwordTextBox.AlwaysShowFocusCues = true; this._passwordTextBox.FlatAppearance = true; this._passwordTextBox.Location = new Point(0x6c, 0x98); this._passwordTextBox.Name = "_passwordTextBox"; this._passwordTextBox.PasswordStyle = true; this._passwordTextBox.Size = new Size(240, 20); this._passwordTextBox.TabIndex = 8; this._passwordTextBox.Text = ""; this._passwordTextBox.TextChanged += new EventHandler(this.OnTextChangedEntry); this._httpRootTextBox.AlwaysShowFocusCues = true; this._httpRootTextBox.FlatAppearance = true; this._httpRootTextBox.Location = new Point(0x60, 0x38); this._httpRootTextBox.Name = "_httpRootTextBox"; this._httpRootTextBox.Size = new Size(0x128, 20); this._httpRootTextBox.TabIndex = 2; this._httpRootTextBox.Text = ""; this._httpUrlTextBox.AlwaysShowFocusCues = true; this._httpUrlTextBox.FlatAppearance = true; this._httpUrlTextBox.Location = new Point(0x60, 80); this._httpUrlTextBox.Name = "_httpUrlTextBox"; this._httpUrlTextBox.Size = new Size(0x128, 20); this._httpUrlTextBox.TabIndex = 4; this._httpUrlTextBox.Text = ""; this._okButton.FlatStyle = FlatStyle.System; this._okButton.Location = new Point(260, 0x130); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 10; this._okButton.Text = "OK"; this._okButton.Click += new EventHandler(this.OnClickOKButton); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.FlatStyle = FlatStyle.System; this._cancelButton.Location = new Point(0x158, 0x130); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 11; this._cancelButton.Text = "Cancel"; this._cancelButton.Click += new EventHandler(this.OnClickCancelButton); this._siteLabel.FlatStyle = FlatStyle.System; this._siteLabel.Location = new Point(0x10, 0x4a); this._siteLabel.Name = "_siteLabel"; this._siteLabel.Size = new Size(80, 0x10); this._siteLabel.TabIndex = 1; this._siteLabel.Text = "&FTP Site:"; this._portLabel.FlatStyle = FlatStyle.System; this._portLabel.Location = new Point(0x10, 100); this._portLabel.Name = "_portLabel"; this._portLabel.Size = new Size(80, 0x10); this._portLabel.TabIndex = 3; this._portLabel.Text = "P&ort:"; this._userNameLabel.FlatStyle = FlatStyle.System; this._userNameLabel.Location = new Point(0x10, 0x84); this._userNameLabel.Name = "_userNameLabel"; this._userNameLabel.Size = new Size(80, 0x10); this._userNameLabel.TabIndex = 5; this._userNameLabel.Text = "&User Name:"; this._passwordLabel.FlatStyle = FlatStyle.System; this._passwordLabel.Location = new Point(0x10, 0x9c); this._passwordLabel.Name = "_passwordLabel"; this._passwordLabel.Size = new Size(80, 0x10); this._passwordLabel.TabIndex = 7; this._passwordLabel.Text = "&Password:"******"_httpRootLabel"; this._httpRootLabel.Size = new Size(80, 0x10); this._httpRootLabel.TabIndex = 1; this._httpRootLabel.Text = "&Directory:"; this._httpUrlLabel.FlatStyle = FlatStyle.System; this._httpUrlLabel.Location = new Point(8, 0x54); this._httpUrlLabel.Name = "_httpUrlLabel"; this._httpUrlLabel.Size = new Size(80, 0x10); this._httpUrlLabel.TabIndex = 3; this._httpUrlLabel.Text = "&Web URL:"; this._httpGroup.Controls.AddRange(new Control[] { this._httpInfoLabel, this._httpRootTextBox, this._httpUrlTextBox, this._httpUrlLabel, this._httpRootLabel }); this._httpGroup.FlatStyle = FlatStyle.System; this._httpGroup.Location = new Point(12, 0xb8); this._httpGroup.Name = "_httpGroup"; this._httpGroup.Size = new Size(0x198, 0x70); this._httpGroup.TabIndex = 9; this._httpGroup.TabStop = false; this._httpGroup.Text = "Web Application Information"; this._httpInfoLabel.Location = new Point(8, 20); this._httpInfoLabel.Name = "_httpInfoLabel"; this._httpInfoLabel.Size = new Size(0x188, 0x1c); this._httpInfoLabel.TabIndex = 0; this._httpInfoLabel.Text = "To run a Web application from this FTP connection, specify the path to the directory containing the application, and its associated HTTP URL."; this.AutoScaleBaseSize = new Size(5, 13); base.ClientSize = new Size(430, 0x151); base.Controls.AddRange(new Control[] { this._httpGroup, this._cancelButton, this._okButton, this._passwordTextBox, this._passwordLabel, this._userNameTextBox, this._userNameLabel, this._portTextBox, this._portLabel, this._siteTextBox, this._siteLabel, this._gradientBand }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "FtpConnectionDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; base.TaskBorderStyle = BorderStyle.FixedSingle; base.TaskCaption = "FTP Connection"; base.TaskDescription = "Enter information about the FTP site and your user identity."; this.Text = "New FTP Connection"; this._httpGroup.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this._galleryLabel = new MxLabel(); this._lookForLabel = new MxLabel(); this._searchByLabel = new MxLabel(); this._searchGroupLabel = new GroupLabel(); this._resultsListView = new MxListView(); this._searchButton = new MxButton(); this._connectButton = new MxButton(); this._galleryComboBox = new MxComboBox(); this._keywordComboBox = new MxComboBox(); this._gradientBand = new GradientBand(); this._downloadButton = new MxButton(); this._cancelButton = new MxButton(); this._containerPanel = new Panel(); this._resultsPanel = new Panel(); this._resultsListViewPanel = new Panel(); this._resultsSplitter = new Splitter(); this._resultsSummaryPanel = new Panel(); this._resultsSummaryLabel = new MxLabel(); this._panelSplitter = new Splitter(); this._categoryPanel = new Panel(); this._categoryListView = new MxListView(); this.Categories = new ColumnHeader(); this._categoryRadioButton = new MxRadioButton(); this._keywordRadioButton = new MxRadioButton(); this._detailsButton = new MxButton(); this._containerPanel.SuspendLayout(); this._resultsPanel.SuspendLayout(); this._resultsListViewPanel.SuspendLayout(); this._resultsSummaryPanel.SuspendLayout(); this._categoryPanel.SuspendLayout(); base.SuspendLayout(); this._galleryLabel.Location = new Point(0x10, 80); this._galleryLabel.Name = "_galleryLabel"; this._galleryLabel.Size = new Size(0x30, 0x10); this._galleryLabel.TabIndex = 0; this._galleryLabel.Text = "&Gallery:"; this._lookForLabel.Location = new Point(0x10, 160); this._lookForLabel.Name = "_lookForLabel"; this._lookForLabel.Size = new Size(0x40, 0x10); this._lookForLabel.TabIndex = 7; this._lookForLabel.Text = "&Look For:"; this._lookForLabel.Visible = false; this._searchByLabel.Location = new Point(0x10, 0x84); this._searchByLabel.Name = "_searchByLabel"; this._searchByLabel.Size = new Size(0x48, 0x10); this._searchByLabel.TabIndex = 4; this._searchByLabel.Text = "Search By:"; this._searchGroupLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._searchGroupLabel.Location = new Point(4, 0x6c); this._searchGroupLabel.Name = "_searchGroupLabel"; this._searchGroupLabel.Size = new Size(0x204, 0x10); this._searchGroupLabel.TabIndex = 3; this._searchGroupLabel.Text = "Search"; this._resultsListView.BorderStyle = BorderStyle.None; this._resultsListView.Dock = DockStyle.Fill; this._resultsListView.FlatScrollBars = false; this._resultsListView.FullRowSelect = true; this._resultsListView.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._resultsListView.HideSelection = false; this._resultsListView.Location = new Point(1, 1); this._resultsListView.MultiSelect = false; this._resultsListView.Name = "_resultsListView"; this._resultsListView.ShowToolTips = false; this._resultsListView.Size = new Size(0x185, 0x80); this._resultsListView.TabIndex = 1; this._resultsListView.WatermarkText = "No components found.\r\nSelect a category to begin browsing."; this._resultsListView.SelectedIndexChanged += new EventHandler(this.OnResultsListViewSelectedIndexChanged); this._searchButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._searchButton.Location = new Point(440, 0x9d); this._searchButton.Name = "_searchButton"; this._searchButton.TabIndex = 6; this._searchButton.Text = "&Search"; this._searchButton.Visible = false; this._connectButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._connectButton.Location = new Point(440, 0x4d); this._connectButton.Name = "_connectButton"; this._connectButton.TabIndex = 2; this._connectButton.Text = "&Connect"; this._galleryComboBox.AlwaysShowFocusCues = true; this._galleryComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._galleryComboBox.FlatAppearance = true; this._galleryComboBox.InitialText = null; this._galleryComboBox.Location = new Point(0x60, 0x4e); this._galleryComboBox.Name = "_galleryComboBox"; this._galleryComboBox.Size = new Size(0x150, 0x15); this._galleryComboBox.TabIndex = 1; this._galleryComboBox.KeyDown += new KeyEventHandler(this.OnGalleryComboBoxKeyDown); this._keywordComboBox.AlwaysShowFocusCues = true; this._keywordComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._keywordComboBox.FlatAppearance = true; this._keywordComboBox.InitialText = null; this._keywordComboBox.Location = new Point(0x60, 0x9e); this._keywordComboBox.Name = "_keywordComboBox"; this._keywordComboBox.Size = new Size(0x150, 0x15); this._keywordComboBox.TabIndex = 5; this._keywordComboBox.KeyDown += new KeyEventHandler(this.OnKeywordComboBoxKeyDown); this._gradientBand.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._gradientBand.EndColor = Color.FromArgb(0x80, 0x80, 0xff); this._gradientBand.GradientSpeed = 1; this._gradientBand.Location = new Point(0, 0x38); this._gradientBand.Name = "_gradientBand"; this._gradientBand.ScrollSpeed = 5; this._gradientBand.Size = new Size(0x20c, 6); this._gradientBand.StartColor = Color.White; this._gradientBand.TabIndex = 0; this._gradientBand.Text = "gradientBand1"; this._downloadButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._downloadButton.Location = new Point(0x11c, 0x160); this._downloadButton.Name = "_downloadButton"; this._downloadButton.TabIndex = 9; this._downloadButton.Text = "&Install"; this._downloadButton.Click += new EventHandler(this.OnDownloadButtonClick); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.Location = new Point(0x1bc, 0x160); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 11; this._cancelButton.Text = "Cl&ose"; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); this._containerPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._containerPanel.BackColor = SystemColors.ControlDark; this._containerPanel.Controls.AddRange(new Control[] { this._resultsPanel, this._panelSplitter, this._categoryPanel }); this._containerPanel.Location = new Point(4, 0x9c); this._containerPanel.Name = "_containerPanel"; this._containerPanel.Size = new Size(0x204, 0xb8); this._containerPanel.TabIndex = 7; this._resultsPanel.Controls.AddRange(new Control[] { this._resultsListViewPanel, this._resultsSplitter, this._resultsSummaryPanel }); this._resultsPanel.Dock = DockStyle.Fill; this._resultsPanel.Location = new Point(0x7d, 0); this._resultsPanel.Name = "_resultsPanel"; this._resultsPanel.Size = new Size(0x187, 0xb8); this._resultsPanel.TabIndex = 5; this._resultsListViewPanel.BackColor = SystemColors.ControlDark; this._resultsListViewPanel.Controls.AddRange(new Control[] { this._resultsListView }); this._resultsListViewPanel.Dock = DockStyle.Fill; this._resultsListViewPanel.DockPadding.All = 1; this._resultsListViewPanel.Name = "_resultsListViewPanel"; this._resultsListViewPanel.Size = new Size(0x187, 130); this._resultsListViewPanel.TabIndex = 0; this._resultsSplitter.BackColor = SystemColors.Control; this._resultsSplitter.Dock = DockStyle.Bottom; this._resultsSplitter.Location = new Point(0, 130); this._resultsSplitter.Name = "_resultsSplitter"; this._resultsSplitter.Size = new Size(0x187, 4); this._resultsSplitter.TabIndex = 2; this._resultsSplitter.TabStop = false; this._resultsSummaryPanel.BackColor = SystemColors.ControlDark; this._resultsSummaryPanel.Controls.AddRange(new Control[] { this._resultsSummaryLabel }); this._resultsSummaryPanel.Dock = DockStyle.Bottom; this._resultsSummaryPanel.DockPadding.All = 1; this._resultsSummaryPanel.Location = new Point(0, 0x86); this._resultsSummaryPanel.Name = "_resultsSummaryPanel"; this._resultsSummaryPanel.Size = new Size(0x187, 50); this._resultsSummaryPanel.TabIndex = 3; this._resultsSummaryLabel.BackColor = SystemColors.Control; this._resultsSummaryLabel.Dock = DockStyle.Fill; this._resultsSummaryLabel.Location = new Point(1, 1); this._resultsSummaryLabel.Name = "_resultsSummaryLabel"; this._resultsSummaryLabel.Size = new Size(0x185, 0x30); this._resultsSummaryLabel.TabIndex = 0; this._panelSplitter.BackColor = SystemColors.Control; this._panelSplitter.Location = new Point(0x79, 0); this._panelSplitter.Name = "_panelSplitter"; this._panelSplitter.Size = new Size(4, 0xb8); this._panelSplitter.TabIndex = 3; this._panelSplitter.TabStop = false; this._panelSplitter.SplitterMoved += new SplitterEventHandler(this._panelSplitter_SplitterMoved); this._categoryPanel.BackColor = SystemColors.ControlDark; this._categoryPanel.Controls.AddRange(new Control[] { this._categoryListView }); this._categoryPanel.Dock = DockStyle.Left; this._categoryPanel.DockPadding.All = 1; this._categoryPanel.Name = "_categoryPanel"; this._categoryPanel.Size = new Size(0x79, 0xb8); this._categoryPanel.TabIndex = 4; this._categoryListView.BorderStyle = BorderStyle.None; this._categoryListView.Dock = DockStyle.Fill; this._categoryListView.FlatScrollBars = false; this._categoryListView.FullRowSelect = true; this._categoryListView.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._categoryListView.HideSelection = false; this._categoryListView.Location = new Point(1, 1); this._categoryListView.MultiSelect = false; this._categoryListView.Name = "_categoryListView"; this._categoryListView.ShowToolTips = false; this._categoryListView.Size = new Size(0x77, 0xb6); this._categoryListView.TabIndex = 1; this._categoryListView.WatermarkText = ""; this._categoryListView.SelectedIndexChanged += new EventHandler(this.OnCategoryListViewSelectedIndexChanged); this._categoryRadioButton.Checked = true; this._categoryRadioButton.Location = new Point(100, 0x84); this._categoryRadioButton.Name = "_categoryRadioButton"; this._categoryRadioButton.Size = new Size(0x44, 0x10); this._categoryRadioButton.TabIndex = 3; this._categoryRadioButton.TabStop = true; this._categoryRadioButton.Text = "C&ategory"; this._categoryRadioButton.CheckedChanged += new EventHandler(this.OnCategoryRadioButtonCheckedChanged); this._keywordRadioButton.Location = new Point(0xb8, 0x84); this._keywordRadioButton.Name = "_keywordRadioButton"; this._keywordRadioButton.Size = new Size(0x44, 0x10); this._keywordRadioButton.TabIndex = 4; this._keywordRadioButton.TabStop = true; this._keywordRadioButton.Text = "&Keyword"; this._detailsButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._detailsButton.Location = new Point(0x16c, 0x160); this._detailsButton.Name = "_detailsButton"; this._detailsButton.TabIndex = 10; this._detailsButton.Text = "&Details"; this._detailsButton.Click += new EventHandler(this.OnDetailsButtonClick); this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x20c, 0x181); base.Controls.AddRange(new Control[] { this._detailsButton, this._keywordRadioButton, this._categoryRadioButton, this._cancelButton, this._downloadButton, this._gradientBand, this._galleryComboBox, this._connectButton, this._searchGroupLabel, this._searchByLabel, this._galleryLabel, this._containerPanel, this._searchButton, this._keywordComboBox, this._lookForLabel }); base.Icon = new Icon(typeof(ComponentGalleryDialog), "ComponentGallery.ico"); base.MaximizeBox = false; base.MinimizeBox = false; base.MinimumSize = new Size(0x214, 0x19c); base.Name = "ComponentGalleryDialog"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; base.TaskCaption = "Online Component Gallery"; base.TaskDescription = "Search the online component gallery"; base.TaskGlyph = new Bitmap(typeof(ComponentGalleryDialog), "ComponentGalleryGlyph.bmp"); this.Text = "Component Gallery"; this._containerPanel.ResumeLayout(false); this._resultsPanel.ResumeLayout(false); this._resultsListViewPanel.ResumeLayout(false); this._resultsSummaryPanel.ResumeLayout(false); this._categoryPanel.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeUserInterface() { MxLabel label = new MxLabel(); GroupLabel label2 = new GroupLabel(); MxLabel label3 = new MxLabel(); MxLabel label4 = new MxLabel(); this._appRootTextBox = new MxTextBox(); this._cassiniRadioButton = new MxRadioButton(); this._portTextBox = new MxTextBox(); this._iisRadioButton = new MxRadioButton(); this._startButton = new MxButton(); this._cancelButton = new MxButton(); this._appNameTextBox = new MxTextBox(); this._dirBrowseCheckBox = new MxCheckBox(); label.Location = new Point(12, 0x4c); label.Size = new Size(0x74, 0x10); label.TabIndex = 0; label.Text = "Application &Directory:"; this._appRootTextBox.AlwaysShowFocusCues = true; this._appRootTextBox.FlatAppearance = true; this._appRootTextBox.Location = new Point(0x84, 0x48); this._appRootTextBox.Size = new Size(0x128, 20); this._appRootTextBox.TabIndex = 1; this._appRootTextBox.TextChanged += new EventHandler(this.OnAppRootTextBoxTextChanged); label2.Location = new Point(12, 0x62); label2.Size = new Size(0x1a0, 0x10); label2.TabIndex = 2; label2.Text = ""; this._cassiniRadioButton.Checked = true; this._cassiniRadioButton.Location = new Point(20, 120); this._cassiniRadioButton.Size = new Size(220, 20); this._cassiniRadioButton.TabIndex = 3; this._cassiniRadioButton.TabStop = true; this._cassiniRadioButton.Text = "Use ASP.NET Web &Matrix Server"; this._cassiniRadioButton.CheckedChanged += new EventHandler(this.OnCassiniRadioButtonCheckedChanged); label4.Location = new Point(0x24, 0x92); label4.Size = new Size(0x5c, 0x10); label4.TabIndex = 5; label4.Text = "Application &Port:"; this._portTextBox.AlwaysShowFocusCues = true; this._portTextBox.FlatAppearance = true; this._portTextBox.Location = new Point(0x84, 0x8e); this._portTextBox.Numeric = true; this._portTextBox.Size = new Size(0x40, 20); this._portTextBox.TabIndex = 6; this._portTextBox.Text = ""; this._iisRadioButton.Location = new Point(20, 0xac); this._iisRadioButton.Size = new Size(220, 20); this._iisRadioButton.TabIndex = 4; this._iisRadioButton.Text = "Use or create an &IIS Virtual Root"; this._iisRadioButton.CheckedChanged += new EventHandler(this.OnIISRadioButtonCheckedChanged); label3.Location = new Point(0x24, 0xc4); label3.Size = new Size(0x68, 0x10); label3.TabIndex = 7; label3.Text = "Application &Name:"; this._appNameTextBox.AlwaysShowFocusCues = true; this._appNameTextBox.FlatAppearance = true; this._appNameTextBox.Location = new Point(0x84, 0xc0); this._appNameTextBox.Size = new Size(0xcc, 20); this._appNameTextBox.TabIndex = 8; this._appNameTextBox.Text = ""; this._dirBrowseCheckBox.Location = new Point(0x24, 0xd8); this._dirBrowseCheckBox.Name = "_dirBrowseCheckBox"; this._dirBrowseCheckBox.Size = new Size(0xa4, 20); this._dirBrowseCheckBox.TabIndex = 9; this._dirBrowseCheckBox.Text = "Enable Directory &Browsing"; this._startButton.Location = new Point(0x10c, 0xf4); this._startButton.TabIndex = 10; this._startButton.Text = "Start"; this._startButton.Click += new EventHandler(this.OnStartButtonClick); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x160, 0xf4); this._cancelButton.TabIndex = 12; this._cancelButton.Text = "Cancel"; base.AcceptButton = this._startButton; this.AutoScaleBaseSize = new Size(5, 13); this.AutoScroll = true; base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x1ba, 0x116); base.Controls.AddRange(new Control[] { this._dirBrowseCheckBox, this._appNameTextBox, label3, this._cancelButton, this._startButton, this._iisRadioButton, this._portTextBox, label4, this._cassiniRadioButton, label2, this._appRootTextBox, label }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Icon = null; base.MaximizeBox = false; base.MinimizeBox = false; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; base.TaskBorderStyle = BorderStyle.FixedSingle; base.TaskCaption = "Start Web Application"; base.TaskDescription = "Start a Web application at the selected application directory."; base.TaskGlyph = new Bitmap(typeof(StartWebAppDialog), "StartWebAppGlyph.bmp"); this.Text = "Start Web Application"; }
private void InitializeComponent() { this._addInList = new CheckedListBox(); this._instructionsLabel = new MxLabel(); this._upButton = new ImageButton(); this._removeButton = new MxButton(); this._downButton = new ImageButton(); this._addButton = new MxButton(); this._listPanel = new Panel(); this._closeButton = new MxButton(); this._addLocalButton = new MxButton(); this._descriptionPanel = new Panel(); this._descriptionLabel = new Label(); this._listPanel.SuspendLayout(); this._descriptionPanel.SuspendLayout(); base.SuspendLayout(); this._addInList.BorderStyle = BorderStyle.None; this._addInList.CheckOnClick = true; this._addInList.Dock = DockStyle.Fill; this._addInList.IntegralHeight = false; this._addInList.Location = new Point(1, 1); this._addInList.Name = "_addInList"; this._addInList.Size = new Size(0x11c, 0x94); this._addInList.TabIndex = 0; this._addInList.SelectedIndexChanged += new EventHandler(this.OnSelectedIndexChanged); this._addInList.ItemCheck += new ItemCheckEventHandler(this.OnAddInListItemChecked); this._instructionsLabel.FlatStyle = FlatStyle.System; this._instructionsLabel.Location = new Point(0x10, 6); this._instructionsLabel.Name = "_instructionsLabel"; this._instructionsLabel.Size = new Size(0x13c, 0x2a); this._instructionsLabel.TabIndex = 0; this._instructionsLabel.Text = "Organize your collection of add-ins using the Add and Remove buttons below. The checked add-ins will be displayed in the Tools menu."; this._upButton.Enabled = false; this._upButton.FlatStyle = FlatStyle.System; this._upButton.Location = new Point(0x134, 0x36); this._upButton.Name = "_upButton"; this._upButton.Size = new Size(0x18, 0x17); this._upButton.TabIndex = 3; this._upButton.Click += new EventHandler(this.OnUpButtonClicked); this._removeButton.FlatStyle = FlatStyle.System; this._removeButton.Location = new Point(0xb0, 0x103); this._removeButton.Name = "_removeButton"; this._removeButton.TabIndex = 7; this._removeButton.Text = "&Remove"; this._removeButton.Click += new EventHandler(this.OnRemoveButtonClicked); this._downButton.Enabled = false; this._downButton.FlatStyle = FlatStyle.System; this._downButton.Location = new Point(0x134, 0x52); this._downButton.Name = "_downButton"; this._downButton.Size = new Size(0x18, 0x17); this._downButton.TabIndex = 4; this._downButton.Click += new EventHandler(this.OnDownButtonClicked); this._addButton.FlatStyle = FlatStyle.System; this._addButton.Location = new Point(0x10, 0x103); this._addButton.Name = "_addButton"; this._addButton.TabIndex = 5; this._addButton.Text = "&Add Online"; this._addButton.Click += new EventHandler(this.OnAddButtonClicked); this._listPanel.BackColor = SystemColors.ControlDark; this._listPanel.Controls.Add(this._addInList); this._listPanel.DockPadding.All = 1; this._listPanel.Location = new Point(0x10, 0x36); this._listPanel.Name = "_listPanel"; this._listPanel.Size = new Size(0x11e, 150); this._listPanel.TabIndex = 1; this._closeButton.FlatStyle = FlatStyle.System; this._closeButton.Location = new Point(0x100, 0x103); this._closeButton.Name = "_closeButton"; this._closeButton.TabIndex = 8; this._closeButton.Text = "Close"; this._closeButton.Click += new EventHandler(this.OnCloseButtonClick); this._addLocalButton.FlatStyle = FlatStyle.System; this._addLocalButton.Location = new Point(0x60, 0x103); this._addLocalButton.Name = "_addLocalButton"; this._addLocalButton.TabIndex = 6; this._addLocalButton.Text = "Add &Local"; this._addLocalButton.Click += new EventHandler(this.OnAddLocalButtonClicked); this._descriptionPanel.BackColor = SystemColors.ControlDark; this._descriptionPanel.Controls.Add(this._descriptionLabel); this._descriptionPanel.DockPadding.All = 1; this._descriptionPanel.Location = new Point(0x10, 0xd0); this._descriptionPanel.Name = "_descriptionPanel"; this._descriptionPanel.Size = new Size(0x11e, 0x2c); this._descriptionPanel.TabIndex = 2; this._descriptionLabel.BackColor = SystemColors.Control; this._descriptionLabel.Dock = DockStyle.Fill; this._descriptionLabel.Location = new Point(1, 1); this._descriptionLabel.Name = "_descriptionLabel"; this._descriptionLabel.Size = new Size(0x11c, 0x2a); this._descriptionLabel.TabIndex = 0; base.AcceptButton = this._closeButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._closeButton; base.ClientSize = new Size(340, 0x125); base.Controls.AddRange(new Control[] { this._descriptionPanel, this._addLocalButton, this._listPanel, this._downButton, this._upButton, this._closeButton, this._addButton, this._instructionsLabel, this._removeButton }); base.Icon = new Icon(typeof(AddInOrganizer), "AddInOrganizer.ico"); base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AddInOrganizer"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Organize Add-ins"; base.FormBorderStyle = FormBorderStyle.FixedDialog; this._listPanel.ResumeLayout(false); this._descriptionPanel.ResumeLayout(false); base.ResumeLayout(false); }
private void InitializeComponent() { this._databaseLabel = new MxLabel(); this._createDbLink = new LinkLabel(); this._serverLabel = new MxLabel(); this._serverEdit = new MxTextBox(); this._passwordEdit = new MxTextBox(); this._userNameEdit = new MxTextBox(); this._passwordLabel = new MxLabel(); this._connectButton = new MxButton(); this._databaseCombo = new MxComboBox(); this._userNameLabel = new MxLabel(); this._cancelButton = new MxButton(); this._windowsRadio = new MxRadioButton(); this._sqlRadio = new MxRadioButton(); base.SuspendLayout(); this._databaseLabel.Location = new Point(0x19, 0xda); this._databaseLabel.Name = "_databaseLabel"; this._databaseLabel.Size = new Size(0x38, 13); this._databaseLabel.TabIndex = 8; this._databaseLabel.Text = "&Database:"; this._databaseLabel.TextAlign = ContentAlignment.MiddleLeft; this._createDbLink.Location = new Point(0x18, 260); this._createDbLink.Name = "_createDbLink"; this._createDbLink.Size = new Size(0x90, 13); this._createDbLink.TabIndex = 10; this._createDbLink.TabStop = true; this._createDbLink.Text = "Create a new database"; this._createDbLink.LinkClicked += new LinkLabelLinkClickedEventHandler(this.OnCreateDbLinkClicked); this._serverLabel.Location = new Point(0x18, 0x4c); this._serverLabel.Name = "_serverLabel"; this._serverLabel.Size = new Size(0x29, 13); this._serverLabel.TabIndex = 0; this._serverLabel.Text = "&Server:"; this._serverLabel.TextAlign = ContentAlignment.MiddleLeft; this._serverEdit.AlwaysShowFocusCues = true; this._serverEdit.FlatAppearance = true; this._serverEdit.Location = new Point(0x5d, 0x48); this._serverEdit.Name = "_serverEdit"; this._serverEdit.Size = new Size(260, 20); this._serverEdit.TabIndex = 1; this._serverEdit.Text = "(local)"; this._serverEdit.TextChanged += new EventHandler(this.OnLoginTextChanged); this._passwordEdit.AlwaysShowFocusCues = true; this._passwordEdit.FlatAppearance = true; this._passwordEdit.Location = new Point(120, 0xae); this._passwordEdit.Name = "_passwordEdit"; this._passwordEdit.PasswordStyle = true; this._passwordEdit.Size = new Size(0xe8, 20); this._passwordEdit.TabIndex = 7; this._passwordEdit.Text = ""; this._passwordEdit.TextChanged += new EventHandler(this.OnLoginTextChanged); this._userNameEdit.AlwaysShowFocusCues = true; this._userNameEdit.FlatAppearance = true; this._userNameEdit.Location = new Point(120, 150); this._userNameEdit.Name = "_userNameEdit"; this._userNameEdit.Size = new Size(0xe8, 20); this._userNameEdit.TabIndex = 5; this._userNameEdit.Text = ""; this._userNameEdit.TextChanged += new EventHandler(this.OnLoginTextChanged); this._passwordLabel.Location = new Point(0x2a, 0xb2); this._passwordLabel.Name = "_passwordLabel"; this._passwordLabel.Size = new Size(70, 13); this._passwordLabel.TabIndex = 6; this._passwordLabel.Text = "&Password:"******"_connectButton"; this._connectButton.Size = new Size(0x4d, 0x17); this._connectButton.TabIndex = 11; this._connectButton.Text = "OK"; this._connectButton.Click += new EventHandler(this.OnConnectButtonClicked); this._databaseCombo.AlwaysShowFocusCues = true; this._databaseCombo.DisplayMember = "Name"; this._databaseCombo.DropDownWidth = 0xfb; this._databaseCombo.FlatAppearance = true; this._databaseCombo.Location = new Point(0x5e, 0xd6); this._databaseCombo.Name = "_databaseCombo"; this._databaseCombo.Size = new Size(260, 0x15); this._databaseCombo.TabIndex = 9; this._databaseCombo.ValueMember = "Name"; this._databaseCombo.KeyDown += new KeyEventHandler(this.OnDatabaseComboKeyDown); this._databaseCombo.DropDown += new EventHandler(this.OnDatabaseComboDropDown); this._databaseCombo.SelectedValueChanged += new EventHandler(this.OnDatabaseComboTextChanged); this._databaseCombo.TextChanged += new EventHandler(this.OnDatabaseComboTextChanged); this._userNameLabel.Location = new Point(0x2a, 0x9a); this._userNameLabel.Name = "_userNameLabel"; this._userNameLabel.Size = new Size(0x44, 13); this._userNameLabel.TabIndex = 4; this._userNameLabel.Text = "&User name:"; this._userNameLabel.TextAlign = ContentAlignment.MiddleLeft; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x114, 0xfc); this._cancelButton.Name = "_cancelButton"; this._cancelButton.Size = new Size(0x4d, 0x17); this._cancelButton.TabIndex = 12; this._cancelButton.Text = "Cancel"; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClicked); this._windowsRadio.Checked = true; this._windowsRadio.Location = new Point(0x1c, 0x68); this._windowsRadio.Name = "_windowsRadio"; this._windowsRadio.Size = new Size(0xa8, 0x18); this._windowsRadio.TabIndex = 2; this._windowsRadio.TabStop = true; this._windowsRadio.Text = "Windows authentication"; this._windowsRadio.CheckedChanged += new EventHandler(this.OnRadioCheckedChanged); this._sqlRadio.Location = new Point(0x1c, 0x7e); this._sqlRadio.Name = "_sqlRadio"; this._sqlRadio.Size = new Size(0xa8, 0x16); this._sqlRadio.TabIndex = 3; this._sqlRadio.Text = "S&QL Server authentication"; base.AcceptButton = this._connectButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x17a, 0x120); base.Controls.AddRange(new Control[] { this._passwordEdit, this._userNameEdit, this._sqlRadio, this._windowsRadio, this._createDbLink, this._databaseLabel, this._passwordLabel, this._userNameLabel, this._serverLabel, this._serverEdit, this._databaseCombo, this._cancelButton, this._connectButton }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "DatabaseLoginForm"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; base.TaskBorderStyle = BorderStyle.FixedSingle; base.TaskCaption = "Connect to SQL or MSDE Database"; base.TaskDescription = "Enter the connection information and select a database."; this.Text = "Connect to Database"; base.ResumeLayout(false); }
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() { this._defaultViewLabel = new MxLabel(); this._defaultViewComboBox = new MxComboBox(); this._designRadioButton = new MxRadioButton(); this._previewRadioButton = new MxRadioButton(); this._infoLabel = new MxLabel(); this._noteLabel = new MxLabel(); base.SuspendLayout(); this._defaultViewLabel.Location = new Point(0x20, 0x84); this._defaultViewLabel.Name = "_defaultViewLabel"; this._defaultViewLabel.Size = new Size(0x48, 0x10); this._defaultViewLabel.TabIndex = 3; this._defaultViewLabel.Text = "Default &View:"; this._defaultViewComboBox.AlwaysShowFocusCues = true; this._defaultViewComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._defaultViewComboBox.FlatAppearance = true; this._defaultViewComboBox.InitialText = null; this._defaultViewComboBox.Location = new Point(0x20, 0x94); this._defaultViewComboBox.Name = "_defaultViewComboBox"; this._defaultViewComboBox.Size = new Size(0x84, 0x15); this._defaultViewComboBox.TabIndex = 4; this._defaultViewComboBox.SelectedIndexChanged += new EventHandler(this._defaultViewComboBox_SelectedIndexChanged); this._designRadioButton.Location = new Point(12, 0x70); this._designRadioButton.Name = "_designRadioButton"; this._designRadioButton.Size = new Size(0x84, 0x10); this._designRadioButton.TabIndex = 1; this._designRadioButton.Text = "&Design Mode"; this._designRadioButton.CheckedChanged += new EventHandler(this._designRadioButton_CheckedChanged); this._previewRadioButton.Location = new Point(12, 0xb8); this._previewRadioButton.Name = "_previewRadioButton"; this._previewRadioButton.Size = new Size(0x84, 0x10); this._previewRadioButton.TabIndex = 2; this._previewRadioButton.Text = "&Preview Mode"; this._infoLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._infoLabel.Location = new Point(12, 12); this._infoLabel.Name = "_infoLabel"; this._infoLabel.Size = new Size(0x1ac, 0x5c); this._infoLabel.TabIndex = 0; this._infoLabel.Text = "Editing pages in Design view will cause them to be formatted automatically as XHTML.\r\n\r\nTo prevent this, edit your pages in the source views only (HTML, Code and All). Alternatively you can switch the editor to use 'Preview' mode instead of 'Design' mode. Preview mode permits you to preview the appearance of the page, but changes made in this view are not saved to the document."; this._noteLabel.Location = new Point(8, 0xec); this._noteLabel.Name = "_noteLabel"; this._noteLabel.Size = new Size(0x1ac, 0x1c); this._noteLabel.TabIndex = 5; this._noteLabel.Text = "Note: If you switch modes, you'll have to close all currently open documents before the new behavior takes effect."; base.Controls.AddRange(new Control[] { this._noteLabel, this._infoLabel, this._previewRadioButton, this._designRadioButton, this._defaultViewComboBox, this._defaultViewLabel }); base.Name = "WebOptionsPage"; base.Size = new Size(0x1c0, 280); base.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this._appRootTextBox = new Microsoft.Matrix.UIComponents.MxTextBox(); this._portTextBox = new Microsoft.Matrix.UIComponents.MxTextBox(); this._portLabel = new Microsoft.Matrix.UIComponents.MxLabel(); this._restartButton = new Microsoft.Matrix.UIComponents.MxButton(); this._hyperlinkLabel = new Microsoft.Matrix.UIComponents.MxLabel(); this._hyperlinkLinkLabel = new System.Windows.Forms.LinkLabel(); this._physicalPathLabel = new Microsoft.Matrix.UIComponents.MxLabel(); this._appRootLabel = new Microsoft.Matrix.UIComponents.MxLabel(); this._stopButton = new Microsoft.Matrix.UIComponents.MxButton(); this._physicalPathTextBox = new Microsoft.Matrix.UIComponents.MxTextBox(); this._trayIcon = new Microsoft.Matrix.UIComponents.TrayIcon(this.components); this.SuspendLayout(); // // _appRootTextBox // this._appRootTextBox.AlwaysShowFocusCues = true; this._appRootTextBox.FlatAppearance = true; this._appRootTextBox.Location = new System.Drawing.Point(116, 92); this._appRootTextBox.Name = "_appRootTextBox"; this._appRootTextBox.ReadOnly = true; this._appRootTextBox.Size = new System.Drawing.Size(296, 20); this._appRootTextBox.TabIndex = 3; this._appRootTextBox.TabStop = false; // // _portTextBox // this._portTextBox.AlwaysShowFocusCues = true; this._portTextBox.FlatAppearance = true; this._portTextBox.Location = new System.Drawing.Point(116, 116); this._portTextBox.Name = "_portTextBox"; this._portTextBox.ReadOnly = true; this._portTextBox.Size = new System.Drawing.Size(60, 20); this._portTextBox.TabIndex = 5; this._portTextBox.TabStop = false; // // _portLabel // this._portLabel.FlatStyle = System.Windows.Forms.FlatStyle.System; this._portLabel.Location = new System.Drawing.Point(12, 118); this._portLabel.Name = "_portLabel"; this._portLabel.Size = new System.Drawing.Size(100, 16); this._portLabel.TabIndex = 4; this._portLabel.Text = "Port:"; // // _restartButton // this._restartButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this._restartButton.Location = new System.Drawing.Point(252, 168); this._restartButton.Name = "_restartButton"; this._restartButton.Size = new System.Drawing.Size(75, 23); this._restartButton.TabIndex = 8; this._restartButton.Text = "Restart"; this._restartButton.Click += new System.EventHandler(this.OnClickRestartButton); // // _hyperlinkLabel // this._hyperlinkLabel.FlatStyle = System.Windows.Forms.FlatStyle.System; this._hyperlinkLabel.Location = new System.Drawing.Point(12, 144); this._hyperlinkLabel.Name = "_hyperlinkLabel"; this._hyperlinkLabel.Size = new System.Drawing.Size(100, 16); this._hyperlinkLabel.TabIndex = 6; this._hyperlinkLabel.Text = "Root &URL:"; // // _hyperlinkLinkLabel // this._hyperlinkLinkLabel.Location = new System.Drawing.Point(116, 144); this._hyperlinkLinkLabel.Name = "_hyperlinkLinkLabel"; this._hyperlinkLinkLabel.Size = new System.Drawing.Size(296, 16); this._hyperlinkLinkLabel.TabIndex = 7; this._hyperlinkLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.OnLinkClickedHyperlinkLinkLabel); // // _physicalPathLabel // this._physicalPathLabel.FlatStyle = System.Windows.Forms.FlatStyle.System; this._physicalPathLabel.Location = new System.Drawing.Point(12, 70); this._physicalPathLabel.Name = "_physicalPathLabel"; this._physicalPathLabel.Size = new System.Drawing.Size(100, 16); this._physicalPathLabel.TabIndex = 0; this._physicalPathLabel.Text = "Physical Path:"; // // _appRootLabel // this._appRootLabel.FlatStyle = System.Windows.Forms.FlatStyle.System; this._appRootLabel.Location = new System.Drawing.Point(12, 94); this._appRootLabel.Name = "_appRootLabel"; this._appRootLabel.Size = new System.Drawing.Size(100, 16); this._appRootLabel.TabIndex = 2; this._appRootLabel.Text = "Virtual Path:"; // // _stopButton // this._stopButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this._stopButton.Location = new System.Drawing.Point(336, 168); this._stopButton.Name = "_stopButton"; this._stopButton.Size = new System.Drawing.Size(75, 23); this._stopButton.TabIndex = 9; this._stopButton.Text = "Stop"; this._stopButton.Click += new System.EventHandler(this.OnClickStopButton); // // _physicalPathTextBox // this._physicalPathTextBox.AlwaysShowFocusCues = true; this._physicalPathTextBox.FlatAppearance = true; this._physicalPathTextBox.Location = new System.Drawing.Point(116, 68); this._physicalPathTextBox.Name = "_physicalPathTextBox"; this._physicalPathTextBox.ReadOnly = true; this._physicalPathTextBox.Size = new System.Drawing.Size(296, 20); this._physicalPathTextBox.TabIndex = 1; this._physicalPathTextBox.TabStop = false; // // _trayIcon // this._trayIcon.Owner = this; this._trayIcon.DoubleClick += new System.EventHandler(this.OnDoubleClickTrayIcon); this._trayIcon.ShowContextMenu += new Microsoft.Matrix.UIComponents.ShowContextMenuEventHandler(this.OnTrayIconShowContextMenu); // // WebServerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(422, 199); this.Controls.Add(this._restartButton); this.Controls.Add(this._stopButton); this.Controls.Add(this._hyperlinkLinkLabel); this.Controls.Add(this._portTextBox); this.Controls.Add(this._appRootTextBox); this.Controls.Add(this._physicalPathTextBox); this.Controls.Add(this._hyperlinkLabel); this.Controls.Add(this._portLabel); this.Controls.Add(this._appRootLabel); this.Controls.Add(this._physicalPathLabel); this.Font = new System.Drawing.Font("Tahoma", 8F); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "WebServerForm"; this.ShowInTaskbar = false; this.TaskBorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.TaskCaption = "Microsoft ASP.NET Web Matrix Server"; this.TaskDescription = "Run ASP.NET applications locally."; this.Text = "Microsoft ASP.NET Web Matrix Server"; this.WindowState = System.Windows.Forms.FormWindowState.Minimized; this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this._createDbLink = new LinkLabel(); this._filenameLabel = new MxLabel(); this._filenameEdit = new MxTextBox(); this._connectButton = new MxButton(); this._cancelButton = new MxButton(); this._chooseFileButton = new MxButton(); this._exampleLabel = new MxLabel(); base.SuspendLayout(); this._createDbLink.Location = new Point(0x18, 260); this._createDbLink.Name = "_createDbLink"; this._createDbLink.Size = new Size(0x90, 13); this._createDbLink.TabIndex = 10; this._createDbLink.TabStop = true; this._createDbLink.Text = "Create a new database"; this._createDbLink.LinkClicked += new LinkLabelLinkClickedEventHandler(this.OnCreateDbLinkClicked); this._filenameLabel.Location = new Point(0x18, 0x4c); this._filenameLabel.Name = "_filenameLabel"; this._filenameLabel.Size = new Size(60, 13); this._filenameLabel.TabIndex = 0; this._filenameLabel.Text = "Data &File:"; this._filenameLabel.TextAlign = ContentAlignment.MiddleLeft; this._filenameEdit.AlwaysShowFocusCues = true; this._filenameEdit.FlatAppearance = true; this._filenameEdit.Location = new Point(0x5d, 0x48); this._filenameEdit.Name = "_filenameEdit"; this._filenameEdit.Size = new Size(220, 20); this._filenameEdit.TabIndex = 1; this._filenameEdit.Text = ""; this._filenameEdit.TextChanged += new EventHandler(this.OnLoginTextChanged); this._connectButton.Location = new Point(0xc0, 0xfc); this._connectButton.Name = "_connectButton"; this._connectButton.Size = new Size(0x4d, 0x17); this._connectButton.TabIndex = 11; this._connectButton.Text = "OK"; this._connectButton.Click += new EventHandler(this.OnConnectButtonClicked); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x114, 0xfc); this._cancelButton.Name = "_cancelButton"; this._cancelButton.Size = new Size(0x4d, 0x17); this._cancelButton.TabIndex = 12; this._cancelButton.Text = "Cancel"; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClicked); this._chooseFileButton.Location = new Point(0x13b, 70); this._chooseFileButton.Name = "_chooseFileButton"; this._chooseFileButton.Size = new Size(0x18, 0x17); this._chooseFileButton.TabIndex = 2; this._chooseFileButton.Text = "..."; this._chooseFileButton.Click += new EventHandler(this.OnChooseFileButtonClicked); this._exampleLabel.Location = new Point(0x60, 0x60); this._exampleLabel.Name = "_exampleLabel"; this._exampleLabel.Size = new Size(0xd8, 13); this._exampleLabel.TabIndex = 0; this._exampleLabel.Text = @"Example: c:\example.mdb"; this._exampleLabel.TextAlign = ContentAlignment.MiddleLeft; base.AcceptButton = this._connectButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x17a, 0x120); base.Controls.AddRange(new Control[] { this._createDbLink, this._filenameLabel, this._filenameEdit, this._chooseFileButton, this._cancelButton, this._connectButton, this._exampleLabel }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AccessDatabaseLoginForm"; base.ShowInTaskbar = false; base.SizeGripStyle = SizeGripStyle.Hide; base.StartPosition = FormStartPosition.CenterParent; base.TaskBorderStyle = BorderStyle.FixedSingle; base.TaskCaption = "Connect to a Microsoft Access Database"; base.TaskDescription = "Enter the filename of the database."; this.Text = "Connect to Database"; base.ResumeLayout(false); }
private void InitializeComponent() { this._listPanel = new Panel(); this._addInList = new ListBox(); this._captionLabel = new MxLabel(); this._okButton = new MxButton(); this._cancelButton = new MxButton(); this._descriptionPanel = new Panel(); this._descriptionLabel = new Label(); this._listPanel.SuspendLayout(); this._descriptionPanel.SuspendLayout(); base.SuspendLayout(); this._listPanel.BackColor = SystemColors.ControlDark; this._listPanel.Controls.Add(this._addInList); this._listPanel.DockPadding.All = 1; this._listPanel.Location = new Point(8, 0x19); this._listPanel.Name = "_listPanel"; this._listPanel.Size = new Size(0x12a, 0xaf); this._listPanel.TabIndex = 1; this._addInList.BorderStyle = BorderStyle.None; this._addInList.DisplayMember = "Name"; this._addInList.Dock = DockStyle.Fill; this._addInList.IntegralHeight = false; this._addInList.Location = new Point(1, 1); this._addInList.Name = "_addInList"; this._addInList.Size = new Size(0x128, 0xad); this._addInList.TabIndex = 0; this._addInList.DoubleClick += new EventHandler(this.OnAddInListDoubleClicked); this._addInList.SelectedIndexChanged += new EventHandler(this.OnAddInListSelectedIndexChanged); this._captionLabel.FlatStyle = FlatStyle.System; this._captionLabel.Location = new Point(8, 7); this._captionLabel.Name = "_captionLabel"; this._captionLabel.Size = new Size(0xab, 13); this._captionLabel.TabIndex = 0; this._captionLabel.Text = "Select the add-in you wish to run:"; this._okButton.FlatStyle = FlatStyle.System; this._okButton.Location = new Point(0x97, 0x101); this._okButton.Name = "_okButton"; this._okButton.Size = new Size(0x4b, 0x19); this._okButton.TabIndex = 3; this._okButton.Text = "&Run"; this._okButton.Click += new EventHandler(this.OnOKButtonClicked); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.FlatStyle = FlatStyle.System; this._cancelButton.Location = new Point(0xe7, 0x101); this._cancelButton.Name = "_cancelButton"; this._cancelButton.Size = new Size(0x4b, 0x19); this._cancelButton.TabIndex = 4; this._cancelButton.Text = "&Cancel"; this._descriptionPanel.BackColor = SystemColors.ControlDark; this._descriptionPanel.Controls.Add(this._descriptionLabel); this._descriptionPanel.DockPadding.All = 1; this._descriptionPanel.Location = new Point(8, 0xcc); this._descriptionPanel.Name = "_descriptionPanel"; this._descriptionPanel.Size = new Size(0x12a, 0x2c); this._descriptionPanel.TabIndex = 2; this._descriptionLabel.BackColor = SystemColors.Control; this._descriptionLabel.Dock = DockStyle.Fill; this._descriptionLabel.Location = new Point(1, 1); this._descriptionLabel.Name = "_descriptionLabel"; this._descriptionLabel.Size = new Size(0x128, 0x2a); this._descriptionLabel.TabIndex = 0; this._descriptionLabel.Text = "label1"; base.AcceptButton = this._okButton; this.AutoScaleBaseSize = new Size(5, 13); base.CancelButton = this._cancelButton; base.ClientSize = new Size(320, 0x125); base.Controls.AddRange(new Control[] { this._descriptionPanel, this._listPanel, this._captionLabel, this._cancelButton, this._okButton }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.MaximizeBox = false; base.MinimizeBox = false; base.Name = "AddInRunSelector"; base.ShowInTaskbar = false; base.StartPosition = FormStartPosition.CenterParent; this.Text = "Run Add-in"; base.DoubleClick += new EventHandler(this.OnAddInListDoubleClicked); this._listPanel.ResumeLayout(false); this._descriptionPanel.ResumeLayout(false); base.ResumeLayout(false); }