From fc1d7deae101c89bad633fab027dcc7e12f5c473 Mon Sep 17 00:00:00 2001
From: tomvita <68505331+tomvita@users.noreply.github.com>
Date: Sun, 27 Dec 2020 09:20:25 +0800
Subject: [PATCH] increase dump file to 10
---
PointerSearcher/Form1.Designer.cs | 130 +++++++++++++++++++++++-------
PointerSearcher/Form1.cs | 32 +++++++-
PointerSearcher/Form1.resx | 30 +++++++
3 files changed, 164 insertions(+), 28 deletions(-)
diff --git a/PointerSearcher/Form1.Designer.cs b/PointerSearcher/Form1.Designer.cs
index b16b23d..b9ad54e 100644
--- a/PointerSearcher/Form1.Designer.cs
+++ b/PointerSearcher/Form1.Designer.cs
@@ -29,10 +29,10 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = 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();
@@ -85,6 +85,11 @@ private void InitializeComponent()
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.radioButton13 = new System.Windows.Forms.RadioButton();
+ this.radioButton14 = new System.Windows.Forms.RadioButton();
+ this.radioButton15 = new System.Windows.Forms.RadioButton();
+ this.radioButton16 = new System.Windows.Forms.RadioButton();
+ this.radioButton17 = new System.Windows.Forms.RadioButton();
this.radioButton11 = new System.Windows.Forms.RadioButton();
this.radioButton12 = new System.Windows.Forms.RadioButton();
this.radioButton8 = new System.Windows.Forms.RadioButton();
@@ -279,8 +284,8 @@ private void InitializeComponent()
this.dgvDumpTargets.Name = "dgvDumpTargets";
this.dgvDumpTargets.RowHeadersVisible = false;
this.dgvDumpTargets.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
- dataGridViewCellStyle2.NullValue = null;
- this.dgvDumpTargets.RowsDefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle10.NullValue = null;
+ this.dgvDumpTargets.RowsDefaultCellStyle = dataGridViewCellStyle10;
this.dgvDumpTargets.RowTemplate.Height = 21;
this.dgvDumpTargets.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.CellSelect;
this.dgvDumpTargets.Size = new System.Drawing.Size(1088, 163);
@@ -346,8 +351,8 @@ private void InitializeComponent()
// ColumnFileRow
//
this.ColumnFileRow.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- this.ColumnFileRow.DefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ this.ColumnFileRow.DefaultCellStyle = dataGridViewCellStyle9;
this.ColumnFileRow.HeaderText = "File";
this.ColumnFileRow.MinimumWidth = 25;
this.ColumnFileRow.Name = "ColumnFileRow";
@@ -730,6 +735,11 @@ private void InitializeComponent()
//
// groupBox2
//
+ this.groupBox2.Controls.Add(this.radioButton13);
+ this.groupBox2.Controls.Add(this.radioButton14);
+ this.groupBox2.Controls.Add(this.radioButton15);
+ this.groupBox2.Controls.Add(this.radioButton16);
+ this.groupBox2.Controls.Add(this.radioButton17);
this.groupBox2.Controls.Add(this.radioButton11);
this.groupBox2.Controls.Add(this.radioButton12);
this.groupBox2.Controls.Add(this.radioButton8);
@@ -742,15 +752,76 @@ private void InitializeComponent()
this.groupBox2.TabStop = false;
this.groupBox2.Text = "File";
//
+ // radioButton13
+ //
+ this.radioButton13.AutoSize = true;
+ this.radioButton13.Location = new System.Drawing.Point(41, 120);
+ this.radioButton13.Name = "radioButton13";
+ this.radioButton13.Size = new System.Drawing.Size(37, 17);
+ this.radioButton13.TabIndex = 26;
+ this.radioButton13.TabStop = true;
+ this.radioButton13.Text = "10";
+ this.radioButton13.UseVisualStyleBackColor = true;
+ this.radioButton13.CheckedChanged += new System.EventHandler(this.radioButton13_CheckedChanged);
+ //
+ // radioButton14
+ //
+ this.radioButton14.AutoSize = true;
+ this.radioButton14.Location = new System.Drawing.Point(41, 95);
+ this.radioButton14.Name = "radioButton14";
+ this.radioButton14.Size = new System.Drawing.Size(31, 17);
+ this.radioButton14.TabIndex = 25;
+ this.radioButton14.TabStop = true;
+ this.radioButton14.Text = "9";
+ this.radioButton14.UseVisualStyleBackColor = true;
+ this.radioButton14.CheckedChanged += new System.EventHandler(this.radioButton14_CheckedChanged);
+ //
+ // radioButton15
+ //
+ this.radioButton15.AutoSize = true;
+ this.radioButton15.Location = new System.Drawing.Point(41, 72);
+ this.radioButton15.Name = "radioButton15";
+ this.radioButton15.Size = new System.Drawing.Size(31, 17);
+ this.radioButton15.TabIndex = 24;
+ this.radioButton15.TabStop = true;
+ this.radioButton15.Text = "8";
+ this.radioButton15.UseVisualStyleBackColor = true;
+ this.radioButton15.CheckedChanged += new System.EventHandler(this.radioButton15_CheckedChanged);
+ //
+ // radioButton16
+ //
+ this.radioButton16.AutoSize = true;
+ this.radioButton16.Location = new System.Drawing.Point(41, 49);
+ this.radioButton16.Name = "radioButton16";
+ this.radioButton16.Size = new System.Drawing.Size(31, 17);
+ this.radioButton16.TabIndex = 23;
+ this.radioButton16.TabStop = true;
+ this.radioButton16.Text = "7";
+ this.radioButton16.UseVisualStyleBackColor = true;
+ this.radioButton16.CheckedChanged += new System.EventHandler(this.radioButton16_CheckedChanged);
+ //
+ // radioButton17
+ //
+ this.radioButton17.AutoSize = true;
+ this.radioButton17.Checked = true;
+ this.radioButton17.Location = new System.Drawing.Point(41, 26);
+ this.radioButton17.Name = "radioButton17";
+ this.radioButton17.Size = new System.Drawing.Size(31, 17);
+ this.radioButton17.TabIndex = 22;
+ this.radioButton17.TabStop = true;
+ this.radioButton17.Text = "6";
+ this.radioButton17.UseVisualStyleBackColor = true;
+ this.radioButton17.CheckedChanged += new System.EventHandler(this.radioButton17_CheckedChanged);
+ //
// radioButton11
//
this.radioButton11.AutoSize = true;
this.radioButton11.Location = new System.Drawing.Point(6, 120);
this.radioButton11.Name = "radioButton11";
- this.radioButton11.Size = new System.Drawing.Size(50, 17);
+ this.radioButton11.Size = new System.Drawing.Size(31, 17);
this.radioButton11.TabIndex = 21;
this.radioButton11.TabStop = true;
- this.radioButton11.Text = "File 5";
+ this.radioButton11.Text = "5";
this.radioButton11.UseVisualStyleBackColor = true;
this.radioButton11.CheckedChanged += new System.EventHandler(this.radioButton11_CheckedChanged_1);
//
@@ -759,10 +830,10 @@ private void InitializeComponent()
this.radioButton12.AutoSize = true;
this.radioButton12.Location = new System.Drawing.Point(6, 95);
this.radioButton12.Name = "radioButton12";
- this.radioButton12.Size = new System.Drawing.Size(50, 17);
+ this.radioButton12.Size = new System.Drawing.Size(31, 17);
this.radioButton12.TabIndex = 20;
this.radioButton12.TabStop = true;
- this.radioButton12.Text = "File 4";
+ this.radioButton12.Text = "4";
this.radioButton12.UseVisualStyleBackColor = true;
this.radioButton12.CheckedChanged += new System.EventHandler(this.radioButton12_CheckedChanged_1);
//
@@ -771,10 +842,10 @@ private void InitializeComponent()
this.radioButton8.AutoSize = true;
this.radioButton8.Location = new System.Drawing.Point(6, 72);
this.radioButton8.Name = "radioButton8";
- this.radioButton8.Size = new System.Drawing.Size(50, 17);
+ this.radioButton8.Size = new System.Drawing.Size(31, 17);
this.radioButton8.TabIndex = 19;
this.radioButton8.TabStop = true;
- this.radioButton8.Text = "File 3";
+ this.radioButton8.Text = "3";
this.radioButton8.UseVisualStyleBackColor = true;
this.radioButton8.CheckedChanged += new System.EventHandler(this.radioButton8_CheckedChanged);
//
@@ -783,10 +854,10 @@ private void InitializeComponent()
this.radioButton9.AutoSize = true;
this.radioButton9.Location = new System.Drawing.Point(6, 49);
this.radioButton9.Name = "radioButton9";
- this.radioButton9.Size = new System.Drawing.Size(50, 17);
+ this.radioButton9.Size = new System.Drawing.Size(31, 17);
this.radioButton9.TabIndex = 18;
this.radioButton9.TabStop = true;
- this.radioButton9.Text = "File 2";
+ this.radioButton9.Text = "2";
this.radioButton9.UseVisualStyleBackColor = true;
this.radioButton9.CheckedChanged += new System.EventHandler(this.radioButton9_CheckedChanged);
//
@@ -796,10 +867,10 @@ private void InitializeComponent()
this.radioButton10.Checked = true;
this.radioButton10.Location = new System.Drawing.Point(6, 26);
this.radioButton10.Name = "radioButton10";
- this.radioButton10.Size = new System.Drawing.Size(50, 17);
+ this.radioButton10.Size = new System.Drawing.Size(31, 17);
this.radioButton10.TabIndex = 17;
this.radioButton10.TabStop = true;
- this.radioButton10.Text = "File 1";
+ this.radioButton10.Text = "1";
this.radioButton10.UseVisualStyleBackColor = true;
this.radioButton10.CheckedChanged += new System.EventHandler(this.radioButton10_CheckedChanged);
//
@@ -1037,17 +1108,17 @@ private void InitializeComponent()
// fromDataGridViewTextBoxColumn
//
this.fromDataGridViewTextBoxColumn.DataPropertyName = "From";
- dataGridViewCellStyle3.Format = "X10";
- dataGridViewCellStyle3.NullValue = null;
- this.fromDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle11.Format = "X10";
+ dataGridViewCellStyle11.NullValue = null;
+ this.fromDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle11;
this.fromDataGridViewTextBoxColumn.HeaderText = "From";
this.fromDataGridViewTextBoxColumn.Name = "fromDataGridViewTextBoxColumn";
//
// toDataGridViewTextBoxColumn
//
this.toDataGridViewTextBoxColumn.DataPropertyName = "To";
- dataGridViewCellStyle4.Format = "X10";
- this.toDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle12.Format = "X10";
+ this.toDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle12;
this.toDataGridViewTextBoxColumn.HeaderText = "To";
this.toDataGridViewTextBoxColumn.Name = "toDataGridViewTextBoxColumn";
//
@@ -1863,7 +1934,7 @@ private void InitializeComponent()
//
// button11
//
- this.button11.Location = new System.Drawing.Point(646, 497);
+ this.button11.Location = new System.Drawing.Point(641, 670);
this.button11.Name = "button11";
this.button11.Size = new System.Drawing.Size(210, 23);
this.button11.TabIndex = 102;
@@ -1873,7 +1944,7 @@ private void InitializeComponent()
//
// button12
//
- this.button12.Location = new System.Drawing.Point(862, 498);
+ this.button12.Location = new System.Drawing.Point(857, 671);
this.button12.Name = "button12";
this.button12.Size = new System.Drawing.Size(75, 23);
this.button12.TabIndex = 103;
@@ -1885,7 +1956,7 @@ private void InitializeComponent()
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1114, 660);
+ this.ClientSize = new System.Drawing.Size(1113, 659);
this.Controls.Add(this.button12);
this.Controls.Add(this.button11);
this.Controls.Add(this.button10);
@@ -1932,7 +2003,7 @@ private void InitializeComponent()
this.Controls.Add(this.pictureBox2);
this.Controls.Add(this.groupBox4);
this.Name = "Form1";
- this.Text = "PointerSearcher SE 0.5.9";
+ this.Text = "PointerSearcher SE 0.5.9a";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvDumpTargets)).EndInit();
this.tabControl1.ResumeLayout(false);
@@ -2145,6 +2216,11 @@ private void InitializeComponent()
private System.Windows.Forms.DataGridViewTextBoxColumn Label;
private System.Windows.Forms.Button button11;
private System.Windows.Forms.Button button12;
+ private System.Windows.Forms.RadioButton radioButton13;
+ private System.Windows.Forms.RadioButton radioButton14;
+ private System.Windows.Forms.RadioButton radioButton15;
+ private System.Windows.Forms.RadioButton radioButton16;
+ private System.Windows.Forms.RadioButton radioButton17;
}
}
diff --git a/PointerSearcher/Form1.cs b/PointerSearcher/Form1.cs
index 6b98e66..b45b141 100644
--- a/PointerSearcher/Form1.cs
+++ b/PointerSearcher/Form1.cs
@@ -116,12 +116,17 @@ private void DgvDumpTargets_DragDrop( Object sender, DragEventArgs e )
private void Form1_Load( object sender, EventArgs e )
{
pictureBox1.BringToFront();
- dgvDumpTargets.Rows.Add( 5 );
+ dgvDumpTargets.Rows.Add( 10 );
dgvDumpTargets[8, 0].Value = 1;
dgvDumpTargets[8, 1].Value = 2;
dgvDumpTargets[8, 2].Value = 3;
dgvDumpTargets[8, 3].Value = 4;
dgvDumpTargets[8, 4].Value = 5;
+ dgvDumpTargets[8, 5].Value = 6;
+ dgvDumpTargets[8, 6].Value = 7;
+ dgvDumpTargets[8, 7].Value = 8;
+ dgvDumpTargets[8, 8].Value = 9;
+ dgvDumpTargets[8, 9].Value = 10;
s = new Socket( AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp );
s.Close();
@@ -2126,5 +2131,30 @@ private void button12_Click( Object sender, EventArgs e )
int a = 1;
}
+
+ private void radioButton17_CheckedChanged( Object sender, EventArgs e )
+ {
+ fileselect = 5;
+ }
+
+ private void radioButton16_CheckedChanged( Object sender, EventArgs e )
+ {
+ fileselect = 6;
+ }
+
+ private void radioButton15_CheckedChanged( Object sender, EventArgs e )
+ {
+ fileselect = 7;
+ }
+
+ private void radioButton14_CheckedChanged( Object sender, EventArgs e )
+ {
+ fileselect = 8;
+ }
+
+ private void radioButton13_CheckedChanged( Object sender, EventArgs e )
+ {
+ fileselect = 9;
+ }
}
}
diff --git a/PointerSearcher/Form1.resx b/PointerSearcher/Form1.resx
index bf35bdd..f616c65 100644
--- a/PointerSearcher/Form1.resx
+++ b/PointerSearcher/Form1.resx
@@ -153,6 +153,18 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
+
+ 17, 17
+
17, 17
@@ -165,12 +177,30 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
True
True
+
+ True
+
+
+ True
+
+
+ 116, 17
+
116, 17