Example #1
0
 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);
 }
Example #2
0
 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);
 }
Example #3
0
 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);
 }