void ReleaseDesignerOutlets() { if (IntervalCellStack != null) { IntervalCellStack.Dispose(); IntervalCellStack = null; } if (IntervalCell != null) { IntervalCell.Dispose(); IntervalCell = null; } }
//todo если ошибки тут закоментировать //[Action ("AddBtn:")] //partial void AddBtn (AppKit.NSButton sender); //+++ void ReleaseDesignerOutlets() { if (AddBtn != null) { AddBtn.Dispose(); AddBtn = null; } if (ClearBtn != null) { ClearBtn.Dispose(); ClearBtn = null; } if (MyStackView != null) { MyStackView.Dispose(); MyStackView = null; } }