コード例 #1
0
        void ReleaseDesignerOutlets()
        {
            if (id_busInput != null)
            {
                id_busInput.Dispose();
                id_busInput = null;
            }

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

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

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

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

            if (StopTrackingButton != null)
            {
                StopTrackingButton.Dispose();
                StopTrackingButton = null;
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (BalanceLabel != null)
            {
                BalanceLabel.Dispose();
                BalanceLabel = null;
            }

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

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

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

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

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

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

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

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

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

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