void ReleaseDesignerOutlets() { if (BtnDelete != null) { BtnDelete.Dispose(); BtnDelete = null; } if (BtnEdit != null) { BtnEdit.Dispose(); BtnEdit = null; } if (LblAccountNameTilte != null) { LblAccountNameTilte.Dispose(); LblAccountNameTilte = null; } if (LblAccountNameValue != null) { LblAccountNameValue.Dispose(); LblAccountNameValue = null; } if (LblBaseAmountTitle != null) { LblBaseAmountTitle.Dispose(); LblBaseAmountTitle = null; } if (LblBaseAmountValue != null) { LblBaseAmountValue.Dispose(); LblBaseAmountValue = null; } if (LblItemTitle != null) { LblItemTitle.Dispose(); LblItemTitle = null; } if (LblTaxTitle != null) { LblTaxTitle.Dispose(); LblTaxTitle = null; } if (LblTaxValue != null) { LblTaxValue.Dispose(); LblTaxValue = null; } }
void ReleaseDesignerOutlets() { if (AmountDoneBar != null) { AmountDoneBar.Dispose(); AmountDoneBar = null; } if (AmountDoneBtn != null) { AmountDoneBtn.Dispose(); AmountDoneBtn = null; } if (BtnCancel != null) { BtnCancel.Dispose(); BtnCancel = null; } if (BtnClose != null) { BtnClose.Dispose(); BtnClose = null; } if (BtnDelete != null) { BtnDelete.Dispose(); BtnDelete = null; } if (BtnOk != null) { BtnOk.Dispose(); BtnOk = null; } if (BtnRevenueDone != null) { BtnRevenueDone.Dispose(); BtnRevenueDone = null; } if (BtnTaxDone != null) { BtnTaxDone.Dispose(); BtnTaxDone = null; } if (LblAmount != null) { LblAmount.Dispose(); LblAmount = null; } if (LblDescription != null) { LblDescription.Dispose(); LblDescription = null; } if (LblRevenue != null) { LblRevenue.Dispose(); LblRevenue = null; } if (LblTaxType != null) { LblTaxType.Dispose(); LblTaxType = null; } if (LblTitle != null) { LblTitle.Dispose(); LblTitle = null; } if (LblVat != null) { LblVat.Dispose(); LblVat = null; } if (RevenueDoneBar != null) { RevenueDoneBar.Dispose(); RevenueDoneBar = null; } if (RevenuePicker != null) { RevenuePicker.Dispose(); RevenuePicker = null; } if (ScrollVw != null) { ScrollVw.Dispose(); ScrollVw = null; } if (TaxtTypePicker != null) { TaxtTypePicker.Dispose(); TaxtTypePicker = null; } if (TaxTypeDoneBar != null) { TaxTypeDoneBar.Dispose(); TaxTypeDoneBar = null; } if (TxtAmount != null) { TxtAmount.Dispose(); TxtAmount = null; } if (TxtDescription != null) { TxtDescription.Dispose(); TxtDescription = null; } if (TxtRevenue != null) { TxtRevenue.Dispose(); TxtRevenue = null; } if (TxtTaxType != null) { TxtTaxType.Dispose(); TxtTaxType = null; } if (TxtVat != null) { TxtVat.Dispose(); TxtVat = null; } }