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

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

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

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

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

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

            if (TipLabel != null)
            {
                TipLabel.Dispose();
                TipLabel = null;
            }
        }
Beispiel #2
0
        void ReleaseDesignerOutlets()
        {
            if (CommandButton != null)
            {
                CommandButton.Dispose();
                CommandButton = null;
            }

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

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