Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (SelectServerText != null)
            {
                SelectServerText.Dispose();
                SelectServerText = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (InputBox != null)
            {
                InputBox.Dispose();
                InputBox = null;
            }
        }
Exemple #3
0
        void ReleaseDesignerOutlets()
        {
            if (Address != null)
            {
                Address.Dispose();
                Address = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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