void ReleaseDesignerOutlets() { if (View1 != null) { View1.Dispose(); View1 = null; } if (View2 != null) { View2.Dispose(); View2 = null; } if (View3 != null) { View3.Dispose(); View3 = null; } if (View4 != null) { View4.Dispose(); View4 = null; } }
void ReleaseDesignerOutlets() { if (ConstWidthTopBarButtons != null) { ConstWidthTopBarButtons.Dispose(); ConstWidthTopBarButtons = null; } if (ViewTopBar != null) { ViewTopBar.Dispose(); ViewTopBar = null; } if (Button1 != null) { Button1.Dispose(); Button1 = null; } if (View1 != null) { View1.Dispose(); View1 = null; } if (Button2 != null) { Button2.Dispose(); Button2 = null; } if (View2 != null) { View2.Dispose(); View2 = null; } if (Button3 != null) { Button3.Dispose(); Button3 = null; } if (View3 != null) { View3.Dispose(); View3 = null; } if (ConstViewWidthContainer1 != null) { ConstViewWidthContainer1.Dispose(); ConstViewWidthContainer1 = null; } if (ScrollViewContainers != null) { ScrollViewContainers.Dispose(); ScrollViewContainers = null; } }