void ReleaseDesignerOutlets() { if (CollectionView != null) { CollectionView.Dispose(); CollectionView = null; } if (CommentTextField != null) { CommentTextField.Dispose(); CommentTextField = null; } if (CreateButton != null) { CreateButton.Dispose(); CreateButton = null; } if (ScrollView != null) { ScrollView.Dispose(); ScrollView = null; } }
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; } }