コード例 #1
0
 void ReleaseDesignerOutlets()
 {
     if (AmountTextField != null)
     {
         AmountTextField.Dispose();
         AmountTextField = null;
     }
     if (ConvertButton != null)
     {
         ConvertButton.Dispose();
         ConvertButton = null;
     }
     if (ResultLabel != null)
     {
         ResultLabel.Dispose();
         ResultLabel = null;
     }
 }
コード例 #2
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;
            }
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (ActualTextField != null)
            {
                ActualTextField.Dispose();
                ActualTextField = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

            if (TypePopUpButton != null)
            {
                TypePopUpButton.Dispose();
                TypePopUpButton = null;
            }
        }
 void ReleaseDesignerOutlets()
 {
     if (AmountTextField != null)
     {
         AmountTextField.Dispose();
         AmountTextField = null;
     }
     if (ClientIdTextField != null)
     {
         ClientIdTextField.Dispose();
         ClientIdTextField = null;
     }
     if (CreateReportButton != null)
     {
         CreateReportButton.Dispose();
         CreateReportButton = null;
     }
     if (CurrencyTextField != null)
     {
         CurrencyTextField.Dispose();
         CurrencyTextField = null;
     }
     if (DateTextField != null)
     {
         DateTextField.Dispose();
         DateTextField = null;
     }
     if (ExpenseTypeCollapseButton != null)
     {
         ExpenseTypeCollapseButton.Dispose();
         ExpenseTypeCollapseButton = null;
     }
     if (ExpenseTypeExpandButton != null)
     {
         ExpenseTypeExpandButton.Dispose();
         ExpenseTypeExpandButton = null;
     }
     if (ExpenseTypePicker != null)
     {
         ExpenseTypePicker.Dispose();
         ExpenseTypePicker = null;
     }
     if (ImageButton != null)
     {
         ImageButton.Dispose();
         ImageButton = null;
     }
     if (LoginButton != null)
     {
         LoginButton.Dispose();
         LoginButton = null;
     }
     if (LoginIdTextField != null)
     {
         LoginIdTextField.Dispose();
         LoginIdTextField = null;
     }
     if (MyMainView != null)
     {
         MyMainView.Dispose();
         MyMainView = null;
     }
     if (PasswordTextField != null)
     {
         PasswordTextField.Dispose();
         PasswordTextField = null;
     }
     if (PaymentTypeCollapseButton != null)
     {
         PaymentTypeCollapseButton.Dispose();
         PaymentTypeCollapseButton = null;
     }
     if (PaymentTypeExpandButton != null)
     {
         PaymentTypeExpandButton.Dispose();
         PaymentTypeExpandButton = null;
     }
     if (PaymentTypePicker != null)
     {
         PaymentTypePicker.Dispose();
         PaymentTypePicker = null;
     }
     if (ReceiptImageTextField != null)
     {
         ReceiptImageTextField.Dispose();
         ReceiptImageTextField = null;
     }
     if (ReportNameLabel != null)
     {
         ReportNameLabel.Dispose();
         ReportNameLabel = null;
     }
     if (ReportNameTextField != null)
     {
         ReportNameTextField.Dispose();
         ReportNameTextField = null;
     }
     if (StatusLabel != null)
     {
         StatusLabel.Dispose();
         StatusLabel = null;
     }
     if (VendorLabel != null)
     {
         VendorLabel.Dispose();
         VendorLabel = null;
     }
     if (VendorTextField != null)
     {
         VendorTextField.Dispose();
         VendorTextField = null;
     }
 }