public void Dispose() { if (scrollView != null) { scrollView.Dispose(); scrollView = null; } if (formulaEdit != null) { formulaEdit.Dispose(); formulaEdit = null; } if (computedValueEdit != null) { computedValueEdit.Dispose(); computedValueEdit = null; } if (txtA1 != null) { txtA1.Dispose(); txtA1 = null; } if (txtA2 != null) { txtA2.Dispose(); txtA2 = null; } if (txtA3 != null) { txtA3.Dispose(); txtA3 = null; } if (txtA4 != null) { txtA4.Dispose(); txtA4 = null; } if (txtA5 != null) { txtA5.Dispose(); txtA5 = null; } if (txtB1 != null) { txtB1.Dispose(); txtB1 = null; } if (txtB2 != null) { txtB2.Dispose(); txtB2 = null; } if (txtB3 != null) { txtB3.Dispose(); txtB3 = null; } if (txtB4 != null) { txtB4.Dispose(); txtB4 = null; } if (txtB5 != null) { txtB5.Dispose(); txtB5 = null; } if (txtC1 != null) { txtC1.Dispose(); txtC1 = null; } if (txtC2 != null) { txtC2.Dispose(); txtC2 = null; } if (txtC3 != null) { txtC3.Dispose(); txtC3 = null; } if (txtC4 != null) { txtC4.Dispose(); txtC4 = null; } if (txtC5 != null) { txtC5.Dispose(); txtC5 = null; } if (engine != null) { engine.Dispose(); engine = null; } }
public void Dispose() { if (scrollView != null) { scrollView.Dispose(); scrollView = null; } if (calcQuickBase != null) { calcQuickBase.Dispose(); calcQuickBase = null; } if (editTextA != null) { editTextA.Dispose(); editTextA = null; } if (editTextB != null) { editTextB.Dispose(); editTextB = null; } if (editTextC != null) { editTextC.Dispose(); editTextC = null; } if (result1 != null) { result1.Dispose(); result1 = null; } if (result2 != null) { result2.Dispose(); result2 = null; } if (result3 != null) { result3.Dispose(); result3 = null; } if (textA != null) { textA.Dispose(); textA = null; } if (textB != null) { textB.Dispose(); textB = null; } if (textC != null) { textC.Dispose(); textC = null; } }