예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (continuousModeSwitch != null)
            {
                continuousModeSwitch.Dispose();
                continuousModeSwitch = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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