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

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

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

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

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

            if (MessageTextView != null)
            {
                MessageTextView.Dispose();
                MessageTextView = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (ClearButton != null)
            {
                ClearButton.Dispose();
                ClearButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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