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; } }
void ReleaseDesignerOutlets() { if (MyNodalView != null) { MyNodalView.Dispose(); MyNodalView = null; } if (btn1 != null) { btn1.Dispose(); btn1 = null; } if (btn2 != null) { btn2.Dispose(); btn2 = null; } if (btn3 != null) { btn3.Dispose(); btn3 = null; } if (btn4 != null) { btn4.Dispose(); btn4 = null; } if (btn5 != null) { btn5.Dispose(); btn5 = null; } if (GenButton != null) { GenButton.Dispose(); GenButton = null; } if (lbl1 != null) { lbl1.Dispose(); lbl1 = null; } if (lbl2 != null) { lbl2.Dispose(); lbl2 = null; } if (lbl3 != null) { lbl3.Dispose(); lbl3 = null; } if (lbl4 != null) { lbl4.Dispose(); lbl4 = null; } if (lbl5 != null) { lbl5.Dispose(); lbl5 = null; } 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; } if (view5 != null) { view5.Dispose(); view5 = null; } }