void ReleaseDesignerOutlets() { if (Font1Outlet != null) { Font1Outlet.Dispose(); Font1Outlet = null; } if (Font2Outlet != null) { Font2Outlet.Dispose(); Font2Outlet = null; } if (Font3Outlet != null) { Font3Outlet.Dispose(); Font3Outlet = null; } if (FileDirectoryField != null) { FileDirectoryField.Dispose(); FileDirectoryField = null; } }