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._detailsTabControl = new Microsoft.Matrix.UIComponents.TabControl(); Panel panel = new Panel(); ImageList list = new ImageList(); Splitter splitter = new Splitter(); Microsoft.Matrix.UIComponents.TabPage page = new Microsoft.Matrix.UIComponents.TabPage(); Panel panel2 = new Panel(); Microsoft.Matrix.UIComponents.TabPage page2 = new Microsoft.Matrix.UIComponents.TabPage(); Panel panel3 = new Panel(); Panel panel4 = new Panel(); this._memberTree = new TreeView(); this._descriptionView = new DescriptionView(this._serviceProvider, true); this._outlineView = new OutlineView(this._serviceProvider); this._showNonPublicCheckBox = new MxCheckBox(); this._showInheritedCheckBox = new MxCheckBox(); this._showObsoleteCheckBox = new MxCheckBox(); list.ImageSize = new Size(0x10, 0x10); list.TransparentColor = Color.Green; list.ColorDepth = ColorDepth.Depth32Bit; list.Images.AddStrip(new Bitmap(typeof(TypeView), "MemberTreeImages.bmp")); this._memberTree.BorderStyle = BorderStyle.None; this._memberTree.Dock = DockStyle.Fill; this._memberTree.HideSelection = false; this._memberTree.ShowRootLines = false; this._memberTree.ShowLines = false; this._memberTree.TabIndex = 0; this._memberTree.ImageList = list; this._memberTree.AfterSelect += new TreeViewEventHandler(this.OnAfterSelectMemberTree); this._memberTree.BeforeCollapse += new TreeViewCancelEventHandler(this.OnBeforeCollapseMemberTree); panel.BackColor = SystemColors.ControlDark; panel.Size = new Size(200, 4); panel.Dock = DockStyle.Left; panel.DockPadding.All = 1; panel.TabIndex = 0; panel.Controls.Add(this._memberTree); splitter.Dock = DockStyle.Left; splitter.Size = new Size(3, 4); splitter.TabIndex = 1; this._descriptionView.Dock = DockStyle.Fill; this._descriptionView.TabIndex = 0; panel2.BackColor = SystemColors.ControlDark; panel2.Dock = DockStyle.Fill; panel2.DockPadding.All = 1; panel2.TabIndex = 0; panel2.TabStop = false; panel2.Controls.Add(this._descriptionView); page.Text = "Description"; page.Controls.Add(panel2); this._detailsTabControl.TabPlacement = TabPlacement.Bottom; this._detailsTabControl.Mode = TabControlMode.TextOnly; this._detailsTabControl.Dock = DockStyle.Fill; this._detailsTabControl.TabIndex = 2; this._detailsTabControl.Tabs.Add(page); this._outlineView.Dock = DockStyle.Fill; this._outlineView.TabIndex = 0; panel3.BackColor = SystemColors.ControlDark; panel3.Dock = DockStyle.Fill; panel3.DockPadding.All = 1; panel3.TabIndex = 0; panel3.TabStop = false; panel3.Controls.Add(this._outlineView); page2.Text = "Class Outline"; page2.Controls.Add(panel3); this._detailsTabControl.Tabs.Add(page2); this._showNonPublicCheckBox.Text = "Show Non-Public Members"; this._showNonPublicCheckBox.TabIndex = 0; this._showNonPublicCheckBox.Size = new Size(200, 0x10); this._showNonPublicCheckBox.Location = new Point(2, 2); this._showNonPublicCheckBox.CheckedChanged += new EventHandler(this.OnCheckedChangedShowNonPublicCheckBox); this._showInheritedCheckBox.Text = "Show Inherited Members"; this._showInheritedCheckBox.TabIndex = 1; this._showInheritedCheckBox.Size = new Size(200, 0x10); this._showInheritedCheckBox.Location = new Point(0xd0, 2); this._showInheritedCheckBox.CheckedChanged += new EventHandler(this.OnCheckedChangedShowInheritedCheckBox); this._showObsoleteCheckBox.Text = "Show Obsolete Members"; this._showObsoleteCheckBox.TabIndex = 2; this._showObsoleteCheckBox.Size = new Size(200, 0x10); this._showObsoleteCheckBox.Location = new Point(0x19e, 2); this._showObsoleteCheckBox.CheckedChanged += new EventHandler(this.OnCheckedChangedShowObsoleteCheckBox); panel4.TabIndex = 3; panel4.Dock = DockStyle.Bottom; panel4.Size = new Size(10, 20); panel4.Controls.Add(this._showNonPublicCheckBox); panel4.Controls.Add(this._showInheritedCheckBox); panel4.Controls.Add(this._showObsoleteCheckBox); base.Controls.Add(this._detailsTabControl); base.Controls.Add(splitter); base.Controls.Add(panel); base.Controls.Add(panel4); }
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._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._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); }