mirror of
https://github.com/cyberark/PipeViewer
synced 2026-06-06 15:34:28 +00:00
Removed some test code
This commit is contained in:
Generated
+1
-24
@@ -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);
|
||||
|
||||
Generated
+1
-24
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user