Beispiel #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LogPanes));
     this.lvwMessages   = new LinkMe.Framework.Tools.Controls.ListView();
     this.colTime       = new System.Windows.Forms.ColumnHeader();
     this.colEvent      = new System.Windows.Forms.ColumnHeader();
     this.colSource     = new System.Windows.Forms.ColumnHeader();
     this.colType       = new System.Windows.Forms.ColumnHeader();
     this.colMethod     = new System.Windows.Forms.ColumnHeader();
     this.colMessage    = new System.Windows.Forms.ColumnHeader();
     this.imgLargeIcons = new System.Windows.Forms.ImageList(this.components);
     this.imgSmallIcons = new System.Windows.Forms.ImageList(this.components);
     this.txtPreview    = new LinkMe.Framework.Tools.Controls.TextBox();
     this.PaneOne.SuspendLayout();
     this.PaneTwo.SuspendLayout();
     this.SuspendLayout();
     //
     // PaneOne
     //
     this.PaneOne.Controls.Add(this.lvwMessages);
     this.PaneOne.Size = new System.Drawing.Size(728, 281);
     //
     // PaneTwo
     //
     this.PaneTwo.Controls.Add(this.txtPreview);
     this.PaneTwo.Location = new System.Drawing.Point(0, 287);
     this.PaneTwo.Size     = new System.Drawing.Size(728, 65);
     //
     // lvwMessages
     //
     this.lvwMessages.AutoResizeLastColumn = true;
     this.lvwMessages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.colTime,
         this.colEvent,
         this.colSource,
         this.colType,
         this.colMethod,
         this.colMessage
     });
     this.lvwMessages.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.lvwMessages.FullRowSelect  = true;
     this.lvwMessages.HideSelection  = false;
     this.lvwMessages.LargeImageList = this.imgLargeIcons;
     this.lvwMessages.Location       = new System.Drawing.Point(0, 0);
     this.lvwMessages.Name           = "lvwMessages";
     this.lvwMessages.Size           = new System.Drawing.Size(728, 281);
     this.lvwMessages.SmallImageList = this.imgSmallIcons;
     this.lvwMessages.TabIndex       = 0;
     this.lvwMessages.UseCompatibleStateImageBehavior = false;
     this.lvwMessages.View = System.Windows.Forms.View.Details;
     //
     // colTime
     //
     this.colTime.Text  = "Time";
     this.colTime.Width = 150;
     //
     // colEvent
     //
     this.colEvent.Text  = "Event";
     this.colEvent.Width = 90;
     //
     // colSource
     //
     this.colSource.Text  = "Source";
     this.colSource.Width = 150;
     //
     // colType
     //
     this.colType.Text  = "Type";
     this.colType.Width = 150;
     //
     // colMethod
     //
     this.colMethod.Text  = "Method";
     this.colMethod.Width = 100;
     //
     // colMessage
     //
     this.colMessage.Text  = "Message";
     this.colMessage.Width = 55;
     //
     // imgLargeIcons
     //
     this.imgLargeIcons.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgLargeIcons.ImageStream")));
     this.imgLargeIcons.TransparentColor = System.Drawing.Color.Transparent;
     this.imgLargeIcons.Images.SetKeyName(0, "");
     this.imgLargeIcons.Images.SetKeyName(1, "");
     this.imgLargeIcons.Images.SetKeyName(2, "");
     this.imgLargeIcons.Images.SetKeyName(3, "");
     this.imgLargeIcons.Images.SetKeyName(4, "");
     this.imgLargeIcons.Images.SetKeyName(5, "");
     this.imgLargeIcons.Images.SetKeyName(6, "");
     this.imgLargeIcons.Images.SetKeyName(7, "");
     this.imgLargeIcons.Images.SetKeyName(8, "");
     //
     // imgSmallIcons
     //
     this.imgSmallIcons.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgSmallIcons.ImageStream")));
     this.imgSmallIcons.TransparentColor = System.Drawing.Color.Transparent;
     this.imgSmallIcons.Images.SetKeyName(0, "");
     this.imgSmallIcons.Images.SetKeyName(1, "");
     this.imgSmallIcons.Images.SetKeyName(2, "");
     this.imgSmallIcons.Images.SetKeyName(3, "");
     this.imgSmallIcons.Images.SetKeyName(4, "");
     this.imgSmallIcons.Images.SetKeyName(5, "");
     this.imgSmallIcons.Images.SetKeyName(6, "");
     this.imgSmallIcons.Images.SetKeyName(7, "");
     this.imgSmallIcons.Images.SetKeyName(8, "");
     //
     // txtPreview
     //
     this.txtPreview.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.txtPreview.Location   = new System.Drawing.Point(0, 0);
     this.txtPreview.Multiline  = true;
     this.txtPreview.Name       = "txtPreview";
     this.txtPreview.ReadOnly   = true;
     this.txtPreview.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.txtPreview.Size       = new System.Drawing.Size(728, 65);
     this.txtPreview.TabIndex   = 0;
     //
     // LogPanes
     //
     this.Name = "LogPanes";
     this.SplitterBorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.PaneOne.ResumeLayout(false);
     this.PaneTwo.ResumeLayout(false);
     this.PaneTwo.PerformLayout();
     this.ResumeLayout(false);
 }
Beispiel #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ResultsForm));
     this.btnOK            = new System.Windows.Forms.Button();
     this.lvwResults       = new LinkMe.Framework.Tools.Controls.ListView();
     this.clnHeader        = new System.Windows.Forms.ColumnHeader();
     this.imageList        = new System.Windows.Forms.ImageList(this.components);
     this.label1           = new System.Windows.Forms.Label();
     this.txtTotalMessages = new System.Windows.Forms.TextBox();
     this.txtTotalErrors   = new System.Windows.Forms.TextBox();
     this.label2           = new System.Windows.Forms.Label();
     this.txtTotalWarnings = new System.Windows.Forms.TextBox();
     this.label3           = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // btnOK
     //
     this.btnOK.Anchor       = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Enabled      = false;
     this.btnOK.Location     = new System.Drawing.Point(240, 320);
     this.btnOK.Name         = "btnOK";
     this.btnOK.TabIndex     = 1;
     this.btnOK.Text         = "OK";
     //
     // lvwResults
     //
     this.lvwResults.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.lvwResults.AutoResizeLastColumn = true;
     this.lvwResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.clnHeader
     });
     this.lvwResults.FullRowSelect  = true;
     this.lvwResults.LargeImageList = this.imageList;
     this.lvwResults.Location       = new System.Drawing.Point(8, 16);
     this.lvwResults.Name           = "lvwResults";
     this.lvwResults.Size           = new System.Drawing.Size(560, 264);
     this.lvwResults.SmallImageList = this.imageList;
     this.lvwResults.TabIndex       = 2;
     this.lvwResults.View           = System.Windows.Forms.View.Details;
     this.lvwResults.DoubleClick   += new System.EventHandler(this.lvwResults_DoubleClick);
     //
     // clnHeader
     //
     this.clnHeader.Text  = "Message";
     this.clnHeader.Width = 556;
     //
     // imageList
     //
     this.imageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // label1
     //
     this.label1.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location  = new System.Drawing.Point(8, 288);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(88, 20);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Total Messages:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtTotalMessages
     //
     this.txtTotalMessages.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtTotalMessages.Location = new System.Drawing.Point(104, 288);
     this.txtTotalMessages.Name     = "txtTotalMessages";
     this.txtTotalMessages.ReadOnly = true;
     this.txtTotalMessages.Size     = new System.Drawing.Size(64, 20);
     this.txtTotalMessages.TabIndex = 4;
     this.txtTotalMessages.Text     = "0";
     //
     // txtTotalErrors
     //
     this.txtTotalErrors.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtTotalErrors.Location = new System.Drawing.Point(280, 288);
     this.txtTotalErrors.Name     = "txtTotalErrors";
     this.txtTotalErrors.ReadOnly = true;
     this.txtTotalErrors.Size     = new System.Drawing.Size(64, 20);
     this.txtTotalErrors.TabIndex = 6;
     this.txtTotalErrors.Text     = "0";
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location  = new System.Drawing.Point(184, 288);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(88, 20);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Total Errors:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtTotalWarnings
     //
     this.txtTotalWarnings.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.txtTotalWarnings.Location = new System.Drawing.Point(456, 288);
     this.txtTotalWarnings.Name     = "txtTotalWarnings";
     this.txtTotalWarnings.ReadOnly = true;
     this.txtTotalWarnings.Size     = new System.Drawing.Size(64, 20);
     this.txtTotalWarnings.TabIndex = 8;
     this.txtTotalWarnings.Text     = "0";
     //
     // label3
     //
     this.label3.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.Location  = new System.Drawing.Point(360, 288);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(88, 20);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "Total Warnings:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ResultsForm
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnOK;
     this.ClientSize        = new System.Drawing.Size(576, 357);
     this.Controls.Add(this.txtTotalWarnings);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.txtTotalErrors);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtTotalMessages);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.lvwResults);
     this.Controls.Add(this.btnOK);
     this.MinimizeBox    = false;
     this.Name           = "ResultsForm";
     this.ShowInTaskbar  = false;
     this.Text           = "Results";
     this.SizeChanged   += new System.EventHandler(this.ResultsForm_SizeChanged);
     this.HandleCreated += new System.EventHandler(this.ResultsForm_HandleCreated);
     this.ResumeLayout(false);
 }