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

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

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

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

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

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

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

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

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

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

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

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

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

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

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