mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Set the system tray icon font to a fixed size. Fixed the exiting of the application when the form was never shown and Close() is called.
This commit is contained in:
@@ -157,6 +157,9 @@ namespace OpenHardwareMonitor.GUI {
|
||||
} else {
|
||||
Show();
|
||||
}
|
||||
|
||||
// Create a handle, otherwise calling Close() does not fire FormClosed
|
||||
CreateHandle();
|
||||
}
|
||||
|
||||
private void SubHardwareAdded(IHardware hardware, Node node) {
|
||||
@@ -233,7 +236,7 @@ namespace OpenHardwareMonitor.GUI {
|
||||
}
|
||||
|
||||
private void exitToolStripMenuItem_Click(object sender, EventArgs e) {
|
||||
Close();
|
||||
Close();
|
||||
}
|
||||
|
||||
private void timer_Tick(object sender, EventArgs e) {
|
||||
|
Reference in New Issue
Block a user