Example #1
0
 public override void Dispose()
 {
     if (ButtonText != null)
     {
         ButtonText.Dispose();
         ButtonText = null;
     }
     base.Dispose();
 }
        void ReleaseDesignerOutlets()
        {
            if (ButtonText != null)
            {
                ButtonText.Dispose();
                ButtonText = null;
            }

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

            if (TextField != null)
            {
                TextField.Dispose();
                TextField = null;
            }
        }
 public void Dispose()
 {
     ButtonText.Dispose();
     MarkedButton.Dispose();
     UnmarkedButton.Dispose();
 }