From 3b803829c07690f9e4bda689767cb03691b3df03 Mon Sep 17 00:00:00 2001 From: tomvita <68505331+tomvita@users.noreply.github.com> Date: Thu, 5 May 2022 15:26:08 +0800 Subject: [PATCH] display bookmark from both edizon se and breeze --- PointerSearcher/Form1.Designer.cs | 22 +++++++++++----------- PointerSearcher/Form1.cs | 2 +- PointerSearcher/Form1.resx | 30 ------------------------------ 3 files changed, 12 insertions(+), 42 deletions(-) diff --git a/PointerSearcher/Form1.Designer.cs b/PointerSearcher/Form1.Designer.cs index cc0467c..432c4cb 100644 --- a/PointerSearcher/Form1.Designer.cs +++ b/PointerSearcher/Form1.Designer.cs @@ -29,9 +29,9 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); this.buttonRead = new System.Windows.Forms.Button(); this.txtPointerSearchResults = new System.Windows.Forms.TextBox(); this.dgvDumpTargets = new System.Windows.Forms.DataGridView(); @@ -293,8 +293,8 @@ private void InitializeComponent() this.dgvDumpTargets.Name = "dgvDumpTargets"; this.dgvDumpTargets.RowHeadersVisible = false; this.dgvDumpTargets.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; - dataGridViewCellStyle7.NullValue = null; - this.dgvDumpTargets.RowsDefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle1.NullValue = null; + this.dgvDumpTargets.RowsDefaultCellStyle = dataGridViewCellStyle1; this.dgvDumpTargets.RowTemplate.Height = 21; this.dgvDumpTargets.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect; this.dgvDumpTargets.Size = new System.Drawing.Size(1088, 163); @@ -1127,17 +1127,17 @@ private void InitializeComponent() // fromDataGridViewTextBoxColumn // this.fromDataGridViewTextBoxColumn.DataPropertyName = "From"; - dataGridViewCellStyle8.Format = "X10"; - dataGridViewCellStyle8.NullValue = null; - this.fromDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle2.Format = "X10"; + dataGridViewCellStyle2.NullValue = null; + this.fromDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle2; this.fromDataGridViewTextBoxColumn.HeaderText = "From"; this.fromDataGridViewTextBoxColumn.Name = "fromDataGridViewTextBoxColumn"; // // toDataGridViewTextBoxColumn // this.toDataGridViewTextBoxColumn.DataPropertyName = "To"; - dataGridViewCellStyle9.Format = "X10"; - this.toDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle9; + dataGridViewCellStyle3.Format = "X10"; + this.toDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3; this.toDataGridViewTextBoxColumn.HeaderText = "To"; this.toDataGridViewTextBoxColumn.Name = "toDataGridViewTextBoxColumn"; // @@ -2074,7 +2074,7 @@ private void InitializeComponent() this.Controls.Add(this.pictureBox2); this.Controls.Add(this.groupBox4); this.Name = "Form1"; - this.Text = "PointerSearcher SE 0.5.14a"; + this.Text = "PointerSearcher SE 0.5.14b"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dgvDumpTargets)).EndInit(); this.tabControl1.ResumeLayout(false); diff --git a/PointerSearcher/Form1.cs b/PointerSearcher/Form1.cs index 5370a5b..62f2cd9 100644 --- a/PointerSearcher/Form1.cs +++ b/PointerSearcher/Form1.cs @@ -1701,6 +1701,7 @@ private void getbookmarkbutton_Click( object sender, EventArgs e ) byte[] dataset = null; int c1 = 0; int totaldata = 0; + dgvBookmarks.Rows.Clear(); do { c1 = receivedata( ref dataset ); @@ -1711,7 +1712,6 @@ private void getbookmarkbutton_Click( object sender, EventArgs e ) c1 = c1 - c1 % 26; this.RecSizeBox.Invoke( (MethodInvoker)delegate { - dgvBookmarks.Rows.Clear(); for ( int i = 0; i < c1; i += 8 ) { //for ( int j = 0; j < 18; j++ ) diff --git a/PointerSearcher/Form1.resx b/PointerSearcher/Form1.resx index 21a5a01..e5a6832 100644 --- a/PointerSearcher/Form1.resx +++ b/PointerSearcher/Form1.resx @@ -159,18 +159,6 @@ True - - True - - - True - - - True - - - 17, 17 - 17, 17 @@ -183,30 +171,12 @@ True - - True - - - True - - - True - True True - - True - - - True - - - 116, 17 - 116, 17