Skip to content

Commit f1e9f52

Browse files
committed
Mono workaround.
1 parent d69957a commit f1e9f52

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Forms/ProcessBrowserForm.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public ProcessBrowserForm(CoreFunctionsManager coreFunctions, string previousPro
4848

4949
processDataGridView.AutoGenerateColumns = false;
5050

51+
// TODO: Workaround, Mono can't display a DataGridViewImageColumn.
52+
if (NativeMethods.IsUnix())
53+
{
54+
iconColumn.Visible = false;
55+
}
56+
5157
previousProcessLinkLabel.Text = string.IsNullOrEmpty(previousProcess) ? NoPreviousProcess : previousProcess;
5258

5359
RefreshProcessList();

Forms/ProcessInfoForm.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ public ProcessInfoForm(RemoteProcess process, ClassNodeView classesView)
3939
modulesDataGridView.AutoGenerateColumns = false;
4040
sectionsDataGridView.AutoGenerateColumns = false;
4141

42+
// TODO: Workaround, Mono can't display a DataGridViewImageColumn.
43+
if (NativeMethods.IsUnix())
44+
{
45+
moduleIconDataGridViewImageColumn.Visible = false;
46+
}
47+
4248
if (process.IsValid)
4349
{
4450
var sections = new DataTable();

0 commit comments

Comments
 (0)