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

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

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

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

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

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

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

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

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

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

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

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

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

            if (StatusText != null)
            {
                StatusText.Dispose();
                StatusText = null;
            }
        }
Пример #3
0
 void ReleaseDesignerOutlets()
 {
     if (ConnectButton != null)
     {
         ConnectButton.Dispose();
         ConnectButton = null;
     }
     if (ConnectionStateLabel != null)
     {
         ConnectionStateLabel.Dispose();
         ConnectionStateLabel = null;
     }
     if (CurrentTagEPCLabel != null)
     {
         CurrentTagEPCLabel.Dispose();
         CurrentTagEPCLabel = null;
     }
     if (DisconnectButton != null)
     {
         DisconnectButton.Dispose();
         DisconnectButton = null;
     }
     if (GrokPluggedInStateLabel != null)
     {
         GrokPluggedInStateLabel.Dispose();
         GrokPluggedInStateLabel = null;
     }
     if (NewTagEPCTextField != null)
     {
         NewTagEPCTextField.Dispose();
         NewTagEPCTextField = null;
     }
     if (ReadTagsStartButton != null)
     {
         ReadTagsStartButton.Dispose();
         ReadTagsStartButton = null;
     }
     if (ReadTagsStopButton != null)
     {
         ReadTagsStopButton.Dispose();
         ReadTagsStopButton = null;
     }
     if (SetTagButton != null)
     {
         SetTagButton.Dispose();
         SetTagButton = null;
     }
     if (StartEditingButton != null)
     {
         StartEditingButton.Dispose();
         StartEditingButton = null;
     }
     if (StopEditingButton != null)
     {
         StopEditingButton.Dispose();
         StopEditingButton = null;
     }
     if (TagsTextView != null)
     {
         TagsTextView.Dispose();
         TagsTextView = null;
     }
 }