void ReleaseDesignerOutlets ()
		{
			if (AnimatedSwitch != null) {
				AnimatedSwitch.Dispose ();
				AnimatedSwitch = null;
			}

			if (IndexTextField != null) {
				IndexTextField.Dispose ();
				IndexTextField = null;
			}

			if (LabelTextField != null) {
				LabelTextField.Dispose ();
				LabelTextField = null;
			}

			if (SelectedIndexLabel != null) {
				SelectedIndexLabel.Dispose ();
				SelectedIndexLabel = null;
			}

			if (TabBar != null) {
				TabBar.Dispose ();
				TabBar = null;
			}
		}
        void ReleaseDesignerOutlets()
        {
            if (AnimatedSwitch != null)
            {
                AnimatedSwitch.Dispose();
                AnimatedSwitch = null;
            }

            if (IndexTextField != null)
            {
                IndexTextField.Dispose();
                IndexTextField = null;
            }

            if (LabelTextField != null)
            {
                LabelTextField.Dispose();
                LabelTextField = null;
            }

            if (SelectedIndexLabel != null)
            {
                SelectedIndexLabel.Dispose();
                SelectedIndexLabel = null;
            }

            if (TabBar != null)
            {
                TabBar.Dispose();
                TabBar = null;
            }
        }
Beispiel #3
0
 void ReleaseDesignerOutlets()
 {
     if (tabBar != null)
     {
         tabBar.Dispose();
         tabBar = null;
     }
 }