Removed some test code

This commit is contained in:
amirnachman
2023-08-14 10:09:07 +03:00
parent 804895a392
commit 702bc9ad5e
3 changed files with 2 additions and 57 deletions
+1 -24
View File
@@ -61,30 +61,7 @@
this.comboBoxSearchByColumn.BackColor = System.Drawing.SystemColors.Window;
this.comboBoxSearchByColumn.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxSearchByColumn.FormattingEnabled = true;
this.comboBoxSearchByColumn.Items.AddRange(new object[] {
"Name",
"IntegrityLevel",
"Permissions",
"SDDL",
"ClientPID",
"PipeType",
"Configuration",
"ReadMode",
"NumberOfLinks",
"DirectoryGrantedAccess",
"GrantedAccess",
"GrantedAccessGeneric",
"OwnerSid",
"OwnerName",
"GroupSid",
"GroupName",
"EndPointType",
"Handle",
"CreationTime",
"FileCreationTime",
"LastAccessTime",
"LastWriteTime",
"ChangeTime"});
this.comboBoxSearchByColumn.Items.AddRange(Utils.ColumnNames);
this.comboBoxSearchByColumn.Location = new System.Drawing.Point(12, 25);
this.comboBoxSearchByColumn.Name = "comboBoxSearchByColumn";
this.comboBoxSearchByColumn.Size = new System.Drawing.Size(121, 21);
+1 -24
View File
@@ -60,30 +60,7 @@
//
this.comboBoxColumn.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBoxColumn.FormattingEnabled = true;
this.comboBoxColumn.Items.AddRange(new object[] {
"Name",
"IntegrityLevel",
"Permissions",
"SDDL",
"ClientPID",
"PipeType",
"Configuration",
"ReadMode",
"NumberOfLinks",
"DirectoryGrantedAccess",
"GrantedAccess",
"GrantedAccessGeneric",
"OwnerSid",
"OwnerName",
"GroupSid",
"GroupName",
"EndPointType",
"Handle",
"CreationTime",
"FileCreationTime",
"LastAccessTime",
"LastWriteTime",
"ChangeTime"});
this.comboBoxColumn.Items.AddRange(Utils.ColumnNames);
this.comboBoxColumn.Location = new System.Drawing.Point(12, 25);
this.comboBoxColumn.Name = "comboBoxColumn";
this.comboBoxColumn.Size = new System.Drawing.Size(121, 21);
-9
View File
@@ -34,9 +34,6 @@ namespace PipeViewer
dataGridView1.Columns["ColumnText"].DefaultCellStyle.WrapMode = DataGridViewTriState.True;
dataGridView1.Columns["ColumnBinary"].DefaultCellStyle.WrapMode = DataGridViewTriState.True;
chatHexBox.ByteProvider = new DynamicByteProvider(m_ByteList);
m_Client = new NamedPipeClientStream(".", m_PipeName, PipeDirection.InOut, PipeOptions.Asynchronous);
m_Client.ConnectAsync();
bool isConnected = m_Client.IsConnected;
startClient();
}
@@ -108,11 +105,6 @@ namespace PipeViewer
}
}
public string getConnectionStatus()
{
return this.isConnectedLabel.Text;
}
private string encodeByteToString(byte[] i_Buffer, int i_BytesRead)
{
StringBuilder encodedString = new StringBuilder();
@@ -132,7 +124,6 @@ namespace PipeViewer
sendButton.Enabled = i_EnabledOrDisabled;
}
private void addRowToDataGridView(string i_Text, string i_BinaryText = "", Color i_ForeColor = default(Color), Color i_BackColor = default(Color), Bitmap i_Icon = null)
{
DataGridViewRow dataGridViewRow = new DataGridViewRow();