mirror of
https://github.com/jeremytammik/RevitSdkSamples.git
synced 2026-09-23 03:59:55 +00:00
integrate Revit 2025 SDK
This commit is contained in:
@@ -34,9 +34,14 @@ namespace Revit.SDK.Samples.NewRoof.RoofForms.CS
|
||||
/// <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();
|
||||
if (m_highLightPen != null)
|
||||
m_highLightPen.Dispose();
|
||||
if (m_displayPen != null)
|
||||
m_displayPen.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user