mirror of
https://github.com/cyberark/PipeViewer
synced 2026-06-06 15:34:28 +00:00
Fix the Refresh Button - to use Highlight/Column filter
This commit is contained in:
+16
-1
@@ -221,6 +221,20 @@ namespace PipeViewer
|
||||
{
|
||||
addNamedPipeToDataGridView(namedPipe);
|
||||
});
|
||||
|
||||
this.Invoke(new Action(() =>
|
||||
{
|
||||
if (m_FormHightlightWindow != null)
|
||||
{
|
||||
m_FormHightlightWindow.OnHighlightRowsUpdate(m_LastListViewHighlighFilter);
|
||||
}
|
||||
|
||||
if (m_FormColumnFilter != null)
|
||||
{
|
||||
m_FormColumnFilter.OnFilterOKUpdate(m_LastListViewColumnFilter);
|
||||
}
|
||||
}));
|
||||
|
||||
}
|
||||
|
||||
int CountSelectedRows(DataGridView dataGridView)
|
||||
@@ -570,8 +584,9 @@ namespace PipeViewer
|
||||
//TimeSpan elapsedTime = stopwatch.Elapsed;
|
||||
//MessageBox.Show($"Task completed in {elapsedTime.TotalMilliseconds} milliseconds", "Task Completed");
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void openFindWindow()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user