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

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

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

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

            if (TipLabel != null)
            {
                TipLabel.Dispose();
                TipLabel = null;
            }
        }
Пример #2
0
        void ReleaseDesignerOutlets()
        {
            if (GoBack != null)
            {
                GoBack.Dispose();
                GoBack = null;
            }

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

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