From 12844967dac7a9cf7373135404e5720d7c2f9949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=B6ller?= Date: Mon, 7 Feb 2011 22:06:58 +0000 Subject: [PATCH] Fixed Issue 162. --- GUI/MainForm.cs | 2 +- Program.cs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/GUI/MainForm.cs b/GUI/MainForm.cs index b0bb3aa..4aa19eb 100644 --- a/GUI/MainForm.cs +++ b/GUI/MainForm.cs @@ -91,7 +91,7 @@ namespace OpenHardwareMonitor.GUI { this.Font = SystemFonts.MessageBoxFont; treeView.Font = SystemFonts.MessageBoxFont; plotPanel.Font = SystemFonts.MessageBoxFont; - treeView.RowHeight = treeView.Font.Height; + treeView.RowHeight = treeView.Font.Height + 1; nodeCheckBox.IsVisibleValueNeeded += nodeCheckBox_IsVisibleValueNeeded; nodeCheckBox.CheckStateChanged += UpdatePlotSelection; diff --git a/Program.cs b/Program.cs index a928688..2378903 100644 --- a/Program.cs +++ b/Program.cs @@ -76,7 +76,7 @@ namespace OpenHardwareMonitor { if (!File.Exists(path + fileName)) { MessageBox.Show("The following file could not be found: " + fileName + - "\nPlease extract all files from the zip archive.", "Error", + "\nPlease extract all files from the archive.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return false; } @@ -86,7 +86,8 @@ namespace OpenHardwareMonitor { private static bool AllRequiredFilesAvailable() { if (!IsFileAvailable("Aga.Controls.dll")) return false; - + if (!IsFileAvailable("OpenHardwareMonitorLib.dll")) + return false; return true; }