diff --git a/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.cs b/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.cs index 050e545..a7b432f 100644 --- a/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.cs +++ b/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.cs @@ -271,6 +271,7 @@ private void PopulateGrid(EntityCollection results) { dt.Columns.Add("Exception", typeof(bool), "exceptiondetails <> ''"); } + labelInfo.Text = $"Loaded {results.Entities.Count} trace records"; }; if (InvokeRequired) { diff --git a/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.designer.cs b/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.designer.cs index a906790..a944f82 100644 --- a/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.designer.cs +++ b/Cinteros.XTB.PluginTraceViewer/PluginTraceViewer.designer.cs @@ -34,21 +34,23 @@ private void InitializeComponent() this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.tsbAbout = new System.Windows.Forms.ToolStripButton(); this.groupFilter = new System.Windows.Forms.GroupBox(); - this.label1 = new System.Windows.Forms.Label(); - this.numRecords = new System.Windows.Forms.NumericUpDown(); - this.rbModeAsync = new System.Windows.Forms.RadioButton(); - this.rbModeSync = new System.Windows.Forms.RadioButton(); - this.rbModeAll = new System.Windows.Forms.RadioButton(); - this.chkExceptions = new System.Windows.Forms.CheckBox(); + this.panelFilter = new System.Windows.Forms.Panel(); this.comboMessage = new System.Windows.Forms.ComboBox(); this.chkMessage = new System.Windows.Forms.CheckBox(); this.comboPlugin = new System.Windows.Forms.ComboBox(); this.chkPlugin = new System.Windows.Forms.CheckBox(); this.checkDateTo = new System.Windows.Forms.CheckBox(); this.checkDateFrom = new System.Windows.Forms.CheckBox(); - this.buttonRetrieveLogs = new System.Windows.Forms.Button(); this.dateTo = new System.Windows.Forms.DateTimePicker(); this.dateFrom = new System.Windows.Forms.DateTimePicker(); + this.panelOptions = new System.Windows.Forms.Panel(); + this.buttonRetrieveLogs = new System.Windows.Forms.Button(); + this.label1 = new System.Windows.Forms.Label(); + this.numRecords = new System.Windows.Forms.NumericUpDown(); + this.rbModeAsync = new System.Windows.Forms.RadioButton(); + this.rbModeSync = new System.Windows.Forms.RadioButton(); + this.rbModeAll = new System.Windows.Forms.RadioButton(); + this.chkExceptions = new System.Windows.Forms.CheckBox(); this.panelData = new System.Windows.Forms.Panel(); this.crmGridView = new Cinteros.Xrm.CRMWinForm.CRMGridView(); this.performanceexecutionstarttime = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -62,6 +64,7 @@ private void InitializeComponent() this.exceptiondetails = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.messagebody = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panelDataTop = new System.Windows.Forms.Panel(); + this.labelInfo = new System.Windows.Forms.Label(); this.groupDetails = new System.Windows.Forms.GroupBox(); this.panelException = new System.Windows.Forms.Panel(); this.textException = new System.Windows.Forms.TextBox(); @@ -74,9 +77,12 @@ private void InitializeComponent() this.splitterDetailsWidth = new System.Windows.Forms.Splitter(); this.toolStripMain.SuspendLayout(); this.groupFilter.SuspendLayout(); + this.panelFilter.SuspendLayout(); + this.panelOptions.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numRecords)).BeginInit(); this.panelData.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.crmGridView)).BeginInit(); + this.panelDataTop.SuspendLayout(); this.groupDetails.SuspendLayout(); this.panelException.SuspendLayout(); this.panelDetailsTop.SuspendLayout(); @@ -91,7 +97,7 @@ private void InitializeComponent() this.tsbAbout}); this.toolStripMain.Location = new System.Drawing.Point(0, 0); this.toolStripMain.Name = "toolStripMain"; - this.toolStripMain.Size = new System.Drawing.Size(1255, 25); + this.toolStripMain.Size = new System.Drawing.Size(1030, 25); this.toolStripMain.TabIndex = 24; this.toolStripMain.Text = "toolStrip1"; // @@ -122,36 +128,153 @@ private void InitializeComponent() // // groupFilter // - this.groupFilter.Controls.Add(this.label1); - this.groupFilter.Controls.Add(this.numRecords); - this.groupFilter.Controls.Add(this.rbModeAsync); - this.groupFilter.Controls.Add(this.rbModeSync); - this.groupFilter.Controls.Add(this.rbModeAll); - this.groupFilter.Controls.Add(this.chkExceptions); - this.groupFilter.Controls.Add(this.comboMessage); - this.groupFilter.Controls.Add(this.chkMessage); - this.groupFilter.Controls.Add(this.comboPlugin); - this.groupFilter.Controls.Add(this.chkPlugin); - this.groupFilter.Controls.Add(this.checkDateTo); - this.groupFilter.Controls.Add(this.checkDateFrom); - this.groupFilter.Controls.Add(this.buttonRetrieveLogs); - this.groupFilter.Controls.Add(this.dateTo); - this.groupFilter.Controls.Add(this.dateFrom); + this.groupFilter.Controls.Add(this.panelFilter); + this.groupFilter.Controls.Add(this.panelOptions); this.groupFilter.Dock = System.Windows.Forms.DockStyle.Top; this.groupFilter.Location = new System.Drawing.Point(0, 25); this.groupFilter.Name = "groupFilter"; - this.groupFilter.Size = new System.Drawing.Size(825, 127); + this.groupFilter.Size = new System.Drawing.Size(600, 131); this.groupFilter.TabIndex = 26; this.groupFilter.TabStop = false; this.groupFilter.Text = "Filter"; // + // panelFilter + // + this.panelFilter.Controls.Add(this.comboMessage); + this.panelFilter.Controls.Add(this.chkMessage); + this.panelFilter.Controls.Add(this.comboPlugin); + this.panelFilter.Controls.Add(this.chkPlugin); + this.panelFilter.Controls.Add(this.checkDateTo); + this.panelFilter.Controls.Add(this.checkDateFrom); + this.panelFilter.Controls.Add(this.dateTo); + this.panelFilter.Controls.Add(this.dateFrom); + this.panelFilter.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelFilter.Location = new System.Drawing.Point(3, 16); + this.panelFilter.Name = "panelFilter"; + this.panelFilter.Size = new System.Drawing.Size(334, 112); + this.panelFilter.TabIndex = 17; + // + // comboMessage + // + this.comboMessage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.comboMessage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.comboMessage.Enabled = false; + this.comboMessage.FormattingEnabled = true; + this.comboMessage.Location = new System.Drawing.Point(84, 72); + this.comboMessage.Name = "comboMessage"; + this.comboMessage.Size = new System.Drawing.Size(243, 21); + this.comboMessage.TabIndex = 18; + // + // chkMessage + // + this.chkMessage.AutoSize = true; + this.chkMessage.Location = new System.Drawing.Point(3, 74); + this.chkMessage.Name = "chkMessage"; + this.chkMessage.Size = new System.Drawing.Size(69, 17); + this.chkMessage.TabIndex = 17; + this.chkMessage.Text = "Message"; + this.chkMessage.UseVisualStyleBackColor = true; + this.chkMessage.CheckedChanged += new System.EventHandler(this.chkMessage_CheckedChanged); + // + // comboPlugin + // + this.comboPlugin.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.comboPlugin.Enabled = false; + this.comboPlugin.FormattingEnabled = true; + this.comboPlugin.Location = new System.Drawing.Point(84, 48); + this.comboPlugin.Name = "comboPlugin"; + this.comboPlugin.Size = new System.Drawing.Size(243, 21); + this.comboPlugin.TabIndex = 16; + // + // chkPlugin + // + this.chkPlugin.AutoSize = true; + this.chkPlugin.Location = new System.Drawing.Point(3, 50); + this.chkPlugin.Name = "chkPlugin"; + this.chkPlugin.Size = new System.Drawing.Size(55, 17); + this.chkPlugin.TabIndex = 15; + this.chkPlugin.Text = "Plugin"; + this.chkPlugin.UseVisualStyleBackColor = true; + this.chkPlugin.CheckedChanged += new System.EventHandler(this.chkPlugin_CheckedChanged); + // + // checkDateTo + // + this.checkDateTo.AutoSize = true; + this.checkDateTo.Location = new System.Drawing.Point(3, 27); + this.checkDateTo.Name = "checkDateTo"; + this.checkDateTo.Size = new System.Drawing.Size(65, 17); + this.checkDateTo.TabIndex = 14; + this.checkDateTo.Text = "Date To"; + this.checkDateTo.UseVisualStyleBackColor = true; + this.checkDateTo.CheckedChanged += new System.EventHandler(this.checkDateTo_CheckedChanged); + // + // checkDateFrom + // + this.checkDateFrom.AutoSize = true; + this.checkDateFrom.Location = new System.Drawing.Point(3, 3); + this.checkDateFrom.Name = "checkDateFrom"; + this.checkDateFrom.Size = new System.Drawing.Size(75, 17); + this.checkDateFrom.TabIndex = 13; + this.checkDateFrom.Text = "Date From"; + this.checkDateFrom.UseVisualStyleBackColor = true; + this.checkDateFrom.CheckedChanged += new System.EventHandler(this.checkDateFrom_CheckedChanged); + // + // dateTo + // + this.dateTo.Enabled = false; + this.dateTo.Format = System.Windows.Forms.DateTimePickerFormat.Short; + this.dateTo.Location = new System.Drawing.Point(84, 24); + this.dateTo.MaxDate = new System.DateTime(2099, 12, 31, 0, 0, 0, 0); + this.dateTo.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); + this.dateTo.Name = "dateTo"; + this.dateTo.Size = new System.Drawing.Size(100, 20); + this.dateTo.TabIndex = 12; + // + // dateFrom + // + this.dateFrom.Enabled = false; + this.dateFrom.Format = System.Windows.Forms.DateTimePickerFormat.Short; + this.dateFrom.Location = new System.Drawing.Point(84, 0); + this.dateFrom.MaxDate = new System.DateTime(2099, 12, 31, 0, 0, 0, 0); + this.dateFrom.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); + this.dateFrom.Name = "dateFrom"; + this.dateFrom.Size = new System.Drawing.Size(100, 20); + this.dateFrom.TabIndex = 11; + // + // panelOptions + // + this.panelOptions.Controls.Add(this.buttonRetrieveLogs); + this.panelOptions.Controls.Add(this.label1); + this.panelOptions.Controls.Add(this.numRecords); + this.panelOptions.Controls.Add(this.rbModeAsync); + this.panelOptions.Controls.Add(this.rbModeSync); + this.panelOptions.Controls.Add(this.rbModeAll); + this.panelOptions.Controls.Add(this.chkExceptions); + this.panelOptions.Dock = System.Windows.Forms.DockStyle.Right; + this.panelOptions.Location = new System.Drawing.Point(337, 16); + this.panelOptions.Name = "panelOptions"; + this.panelOptions.Size = new System.Drawing.Size(260, 112); + this.panelOptions.TabIndex = 18; + // + // buttonRetrieveLogs + // + this.buttonRetrieveLogs.Location = new System.Drawing.Point(158, 69); + this.buttonRetrieveLogs.Name = "buttonRetrieveLogs"; + this.buttonRetrieveLogs.Size = new System.Drawing.Size(93, 27); + this.buttonRetrieveLogs.TabIndex = 23; + this.buttonRetrieveLogs.Text = "Retrieve"; + this.buttonRetrieveLogs.UseVisualStyleBackColor = true; + this.buttonRetrieveLogs.Click += new System.EventHandler(this.buttonRetrieveLogs_Click); + // // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(384, 90); + this.label1.Location = new System.Drawing.Point(5, 75); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(49, 13); - this.label1.TabIndex = 16; + this.label1.TabIndex = 22; this.label1.Text = "Max logs"; // // numRecords @@ -161,7 +284,7 @@ private void InitializeComponent() 0, 0, 0}); - this.numRecords.Location = new System.Drawing.Point(452, 88); + this.numRecords.Location = new System.Drawing.Point(60, 73); this.numRecords.Maximum = new decimal(new int[] { 5000, 0, @@ -174,7 +297,7 @@ private void InitializeComponent() 0}); this.numRecords.Name = "numRecords"; this.numRecords.Size = new System.Drawing.Size(90, 20); - this.numRecords.TabIndex = 15; + this.numRecords.TabIndex = 21; this.numRecords.Value = new decimal(new int[] { 100, 0, @@ -185,10 +308,10 @@ private void InitializeComponent() // rbModeAsync // this.rbModeAsync.AutoSize = true; - this.rbModeAsync.Location = new System.Drawing.Point(542, 42); + this.rbModeAsync.Location = new System.Drawing.Point(158, 27); this.rbModeAsync.Name = "rbModeAsync"; this.rbModeAsync.Size = new System.Drawing.Size(76, 17); - this.rbModeAsync.TabIndex = 14; + this.rbModeAsync.TabIndex = 20; this.rbModeAsync.TabStop = true; this.rbModeAsync.Text = "Async only"; this.rbModeAsync.UseVisualStyleBackColor = true; @@ -196,10 +319,10 @@ private void InitializeComponent() // rbModeSync // this.rbModeSync.AutoSize = true; - this.rbModeSync.Location = new System.Drawing.Point(464, 42); + this.rbModeSync.Location = new System.Drawing.Point(80, 27); this.rbModeSync.Name = "rbModeSync"; this.rbModeSync.Size = new System.Drawing.Size(71, 17); - this.rbModeSync.TabIndex = 13; + this.rbModeSync.TabIndex = 19; this.rbModeSync.TabStop = true; this.rbModeSync.Text = "Sync only"; this.rbModeSync.UseVisualStyleBackColor = true; @@ -208,10 +331,10 @@ private void InitializeComponent() // this.rbModeAll.AutoSize = true; this.rbModeAll.Checked = true; - this.rbModeAll.Location = new System.Drawing.Point(387, 42); + this.rbModeAll.Location = new System.Drawing.Point(3, 27); this.rbModeAll.Name = "rbModeAll"; this.rbModeAll.Size = new System.Drawing.Size(70, 17); - this.rbModeAll.TabIndex = 12; + this.rbModeAll.TabIndex = 18; this.rbModeAll.TabStop = true; this.rbModeAll.Text = "All modes"; this.rbModeAll.UseVisualStyleBackColor = true; @@ -219,117 +342,21 @@ private void InitializeComponent() // chkExceptions // this.chkExceptions.AutoSize = true; - this.chkExceptions.Location = new System.Drawing.Point(387, 18); + this.chkExceptions.Location = new System.Drawing.Point(3, 3); this.chkExceptions.Name = "chkExceptions"; this.chkExceptions.Size = new System.Drawing.Size(100, 17); - this.chkExceptions.TabIndex = 11; + this.chkExceptions.TabIndex = 17; this.chkExceptions.Text = "Exceptions only"; this.chkExceptions.UseVisualStyleBackColor = true; // - // comboMessage - // - this.comboMessage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboMessage.Enabled = false; - this.comboMessage.FormattingEnabled = true; - this.comboMessage.Location = new System.Drawing.Point(88, 87); - this.comboMessage.Name = "comboMessage"; - this.comboMessage.Size = new System.Drawing.Size(287, 21); - this.comboMessage.TabIndex = 10; - // - // chkMessage - // - this.chkMessage.AutoSize = true; - this.chkMessage.Location = new System.Drawing.Point(7, 89); - this.chkMessage.Name = "chkMessage"; - this.chkMessage.Size = new System.Drawing.Size(69, 17); - this.chkMessage.TabIndex = 9; - this.chkMessage.Text = "Message"; - this.chkMessage.UseVisualStyleBackColor = true; - this.chkMessage.CheckedChanged += new System.EventHandler(this.chkMessage_CheckedChanged); - // - // comboPlugin - // - this.comboPlugin.Enabled = false; - this.comboPlugin.FormattingEnabled = true; - this.comboPlugin.Location = new System.Drawing.Point(88, 63); - this.comboPlugin.Name = "comboPlugin"; - this.comboPlugin.Size = new System.Drawing.Size(287, 21); - this.comboPlugin.TabIndex = 8; - // - // chkPlugin - // - this.chkPlugin.AutoSize = true; - this.chkPlugin.Location = new System.Drawing.Point(7, 65); - this.chkPlugin.Name = "chkPlugin"; - this.chkPlugin.Size = new System.Drawing.Size(55, 17); - this.chkPlugin.TabIndex = 7; - this.chkPlugin.Text = "Plugin"; - this.chkPlugin.UseVisualStyleBackColor = true; - this.chkPlugin.CheckedChanged += new System.EventHandler(this.chkPlugin_CheckedChanged); - // - // checkDateTo - // - this.checkDateTo.AutoSize = true; - this.checkDateTo.Location = new System.Drawing.Point(7, 42); - this.checkDateTo.Name = "checkDateTo"; - this.checkDateTo.Size = new System.Drawing.Size(65, 17); - this.checkDateTo.TabIndex = 6; - this.checkDateTo.Text = "Date To"; - this.checkDateTo.UseVisualStyleBackColor = true; - this.checkDateTo.CheckedChanged += new System.EventHandler(this.checkDateTo_CheckedChanged); - // - // checkDateFrom - // - this.checkDateFrom.AutoSize = true; - this.checkDateFrom.Location = new System.Drawing.Point(7, 18); - this.checkDateFrom.Name = "checkDateFrom"; - this.checkDateFrom.Size = new System.Drawing.Size(75, 17); - this.checkDateFrom.TabIndex = 5; - this.checkDateFrom.Text = "Date From"; - this.checkDateFrom.UseVisualStyleBackColor = true; - this.checkDateFrom.CheckedChanged += new System.EventHandler(this.checkDateFrom_CheckedChanged); - // - // buttonRetrieveLogs - // - this.buttonRetrieveLogs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.buttonRetrieveLogs.Location = new System.Drawing.Point(701, 19); - this.buttonRetrieveLogs.Name = "buttonRetrieveLogs"; - this.buttonRetrieveLogs.Size = new System.Drawing.Size(118, 27); - this.buttonRetrieveLogs.TabIndex = 4; - this.buttonRetrieveLogs.Text = "Retrieve"; - this.buttonRetrieveLogs.UseVisualStyleBackColor = true; - this.buttonRetrieveLogs.Click += new System.EventHandler(this.buttonRetrieveLogs_Click); - // - // dateTo - // - this.dateTo.Enabled = false; - this.dateTo.Format = System.Windows.Forms.DateTimePickerFormat.Short; - this.dateTo.Location = new System.Drawing.Point(88, 39); - this.dateTo.MaxDate = new System.DateTime(2099, 12, 31, 0, 0, 0, 0); - this.dateTo.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); - this.dateTo.Name = "dateTo"; - this.dateTo.Size = new System.Drawing.Size(100, 20); - this.dateTo.TabIndex = 3; - // - // dateFrom - // - this.dateFrom.Enabled = false; - this.dateFrom.Format = System.Windows.Forms.DateTimePickerFormat.Short; - this.dateFrom.Location = new System.Drawing.Point(88, 15); - this.dateFrom.MaxDate = new System.DateTime(2099, 12, 31, 0, 0, 0, 0); - this.dateFrom.MinDate = new System.DateTime(2000, 1, 1, 0, 0, 0, 0); - this.dateFrom.Name = "dateFrom"; - this.dateFrom.Size = new System.Drawing.Size(100, 20); - this.dateFrom.TabIndex = 2; - // // panelData // this.panelData.Controls.Add(this.crmGridView); this.panelData.Controls.Add(this.panelDataTop); this.panelData.Dock = System.Windows.Forms.DockStyle.Fill; - this.panelData.Location = new System.Drawing.Point(0, 152); + this.panelData.Location = new System.Drawing.Point(0, 156); this.panelData.Name = "panelData"; - this.panelData.Size = new System.Drawing.Size(825, 402); + this.panelData.Size = new System.Drawing.Size(600, 269); this.panelData.TabIndex = 27; // // crmGridView @@ -360,7 +387,7 @@ private void InitializeComponent() this.crmGridView.ShowFriendlyNames = true; this.crmGridView.ShowIdColumn = false; this.crmGridView.ShowIndexColumn = false; - this.crmGridView.Size = new System.Drawing.Size(825, 370); + this.crmGridView.Size = new System.Drawing.Size(600, 237); this.crmGridView.TabIndex = 25; this.crmGridView.RecordEnter += new Cinteros.Xrm.CRMWinForm.CRMRecordEventHandler(this.crmGridView_RecordEnter); // @@ -438,12 +465,22 @@ private void InitializeComponent() // // panelDataTop // + this.panelDataTop.Controls.Add(this.labelInfo); this.panelDataTop.Dock = System.Windows.Forms.DockStyle.Top; this.panelDataTop.Location = new System.Drawing.Point(0, 0); this.panelDataTop.Name = "panelDataTop"; - this.panelDataTop.Size = new System.Drawing.Size(825, 32); + this.panelDataTop.Size = new System.Drawing.Size(600, 32); this.panelDataTop.TabIndex = 26; // + // labelInfo + // + this.labelInfo.AutoSize = true; + this.labelInfo.Location = new System.Drawing.Point(25, 10); + this.labelInfo.Name = "labelInfo"; + this.labelInfo.Size = new System.Drawing.Size(182, 13); + this.labelInfo.TabIndex = 0; + this.labelInfo.Text = "Select filter criteria and Retrieve logs!"; + // // groupDetails // this.groupDetails.Controls.Add(this.panelException); @@ -452,9 +489,9 @@ private void InitializeComponent() this.groupDetails.Controls.Add(this.labelMessage); this.groupDetails.Controls.Add(this.panelDetailsTop); this.groupDetails.Dock = System.Windows.Forms.DockStyle.Right; - this.groupDetails.Location = new System.Drawing.Point(828, 25); + this.groupDetails.Location = new System.Drawing.Point(603, 25); this.groupDetails.Name = "groupDetails"; - this.groupDetails.Size = new System.Drawing.Size(427, 529); + this.groupDetails.Size = new System.Drawing.Size(427, 400); this.groupDetails.TabIndex = 28; this.groupDetails.TabStop = false; this.groupDetails.Text = "Details"; @@ -466,7 +503,7 @@ private void InitializeComponent() this.panelException.Dock = System.Windows.Forms.DockStyle.Fill; this.panelException.Location = new System.Drawing.Point(3, 212); this.panelException.Name = "panelException"; - this.panelException.Size = new System.Drawing.Size(421, 314); + this.panelException.Size = new System.Drawing.Size(421, 185); this.panelException.TabIndex = 6; // // textException @@ -478,7 +515,7 @@ private void InitializeComponent() this.textException.Name = "textException"; this.textException.ReadOnly = true; this.textException.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.textException.Size = new System.Drawing.Size(421, 301); + this.textException.Size = new System.Drawing.Size(421, 172); this.textException.TabIndex = 5; // // labelException @@ -545,9 +582,9 @@ private void InitializeComponent() // splitterDetailsWidth // this.splitterDetailsWidth.Dock = System.Windows.Forms.DockStyle.Right; - this.splitterDetailsWidth.Location = new System.Drawing.Point(825, 25); + this.splitterDetailsWidth.Location = new System.Drawing.Point(600, 25); this.splitterDetailsWidth.Name = "splitterDetailsWidth"; - this.splitterDetailsWidth.Size = new System.Drawing.Size(3, 529); + this.splitterDetailsWidth.Size = new System.Drawing.Size(3, 400); this.splitterDetailsWidth.TabIndex = 29; this.splitterDetailsWidth.TabStop = false; // @@ -561,16 +598,21 @@ private void InitializeComponent() this.Controls.Add(this.groupDetails); this.Controls.Add(this.toolStripMain); this.Name = "PluginTraceViewer"; - this.Size = new System.Drawing.Size(1255, 554); + this.Size = new System.Drawing.Size(1030, 425); this.ConnectionUpdated += new XrmToolBox.Extensibility.PluginControlBase.ConnectionUpdatedHandler(this.PluginTraceViewer_ConnectionUpdated); this.Load += new System.EventHandler(this.PluginTraceViewer_Load); this.toolStripMain.ResumeLayout(false); this.toolStripMain.PerformLayout(); this.groupFilter.ResumeLayout(false); - this.groupFilter.PerformLayout(); + this.panelFilter.ResumeLayout(false); + this.panelFilter.PerformLayout(); + this.panelOptions.ResumeLayout(false); + this.panelOptions.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.numRecords)).EndInit(); this.panelData.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.crmGridView)).EndInit(); + this.panelDataTop.ResumeLayout(false); + this.panelDataTop.PerformLayout(); this.groupDetails.ResumeLayout(false); this.groupDetails.PerformLayout(); this.panelException.ResumeLayout(false); @@ -592,11 +634,6 @@ private void InitializeComponent() private System.Windows.Forms.Panel panelDataTop; private System.Windows.Forms.GroupBox groupDetails; private System.Windows.Forms.Splitter splitterDetailsWidth; - private System.Windows.Forms.Button buttonRetrieveLogs; - private System.Windows.Forms.DateTimePicker dateTo; - private System.Windows.Forms.DateTimePicker dateFrom; - private System.Windows.Forms.CheckBox checkDateTo; - private System.Windows.Forms.CheckBox checkDateFrom; private System.Windows.Forms.Splitter splitterMessageHeight; private System.Windows.Forms.TextBox textMessage; private System.Windows.Forms.Label labelMessage; @@ -615,15 +652,23 @@ private void InitializeComponent() private System.Windows.Forms.DataGridViewTextBoxColumn exceptiondetails; private System.Windows.Forms.DataGridViewTextBoxColumn messagebody; private System.Windows.Forms.Button buttonOpenRecord; - private System.Windows.Forms.ComboBox comboPlugin; - private System.Windows.Forms.CheckBox chkPlugin; - private System.Windows.Forms.ComboBox comboMessage; - private System.Windows.Forms.CheckBox chkMessage; + private System.Windows.Forms.Panel panelOptions; + private System.Windows.Forms.Button buttonRetrieveLogs; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.NumericUpDown numRecords; private System.Windows.Forms.RadioButton rbModeAsync; private System.Windows.Forms.RadioButton rbModeSync; private System.Windows.Forms.RadioButton rbModeAll; private System.Windows.Forms.CheckBox chkExceptions; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.NumericUpDown numRecords; + private System.Windows.Forms.Panel panelFilter; + private System.Windows.Forms.ComboBox comboMessage; + private System.Windows.Forms.CheckBox chkMessage; + private System.Windows.Forms.ComboBox comboPlugin; + private System.Windows.Forms.CheckBox chkPlugin; + private System.Windows.Forms.CheckBox checkDateTo; + private System.Windows.Forms.CheckBox checkDateFrom; + private System.Windows.Forms.DateTimePicker dateTo; + private System.Windows.Forms.DateTimePicker dateFrom; + private System.Windows.Forms.Label labelInfo; } } \ No newline at end of file