summaryrefslogtreecommitdiffstats
path: root/win/C#/frmPreview.Designer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/C#/frmPreview.Designer.cs')
-rw-r--r--win/C#/frmPreview.Designer.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/C#/frmPreview.Designer.cs b/win/C#/frmPreview.Designer.cs
index 5fb9b2b80..8ecd53ec8 100644
--- a/win/C#/frmPreview.Designer.cs
+++ b/win/C#/frmPreview.Designer.cs
@@ -13,9 +13,12 @@
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
- if (disposing && (components != null))
+ if (disposing)
{
- components.Dispose();
+ if (components != null)
+ {
+ components.Dispose();
+ }
}
base.Dispose(disposing);
}