void ReleaseDesignerOutlets() { if (IBContntTbl != null) { IBContntTbl.Dispose(); IBContntTbl = null; } if (IBDateDoneBar != null) { IBDateDoneBar.Dispose(); IBDateDoneBar = null; } if (IBDatePicker != null) { IBDatePicker.Dispose(); IBDatePicker = null; } if (IBEndDateTxt != null) { IBEndDateTxt.Dispose(); IBEndDateTxt = null; } if (IBSearchBtn != null) { IBSearchBtn.Dispose(); IBSearchBtn = null; } if (IBStartDateTxt != null) { IBStartDateTxt.Dispose(); IBStartDateTxt = null; } if (IBToLbl != null) { IBToLbl.Dispose(); IBToLbl = null; } }
void ReleaseDesignerOutlets() { if (BtnNext != null) { BtnNext.Dispose(); BtnNext = null; } if (IBAccountDoneBar != null) { IBAccountDoneBar.Dispose(); IBAccountDoneBar = null; } if (IBAccountDoneBtn != null) { IBAccountDoneBtn.Dispose(); IBAccountDoneBtn = null; } if (IBAccountPicker != null) { IBAccountPicker.Dispose(); IBAccountPicker = null; } if (IBDateDoneBar != null) { IBDateDoneBar.Dispose(); IBDateDoneBar = null; } if (IBDateDoneBtn != null) { IBDateDoneBtn.Dispose(); IBDateDoneBtn = null; } if (IBDatePicker != null) { IBDatePicker.Dispose(); IBDatePicker = null; } if (LblAddresTitle != null) { LblAddresTitle.Dispose(); LblAddresTitle = null; } if (LblCurrencyTitle != null) { LblCurrencyTitle.Dispose(); LblCurrencyTitle = null; } if (LblDateTitle != null) { LblDateTitle.Dispose(); LblDateTitle = null; } if (LblOrderNameTitle != null) { LblOrderNameTitle.Dispose(); LblOrderNameTitle = null; } if (LblSelectAcoountTilte != null) { LblSelectAcoountTilte.Dispose(); LblSelectAcoountTilte = null; } if (Scrollvw != null) { Scrollvw.Dispose(); Scrollvw = null; } if (TxtAddress != null) { TxtAddress.Dispose(); TxtAddress = null; } if (TxtCurrency != null) { TxtCurrency.Dispose(); TxtCurrency = null; } if (TxtOrderDate != null) { TxtOrderDate.Dispose(); TxtOrderDate = null; } if (TxtOrderName != null) { TxtOrderName.Dispose(); TxtOrderName = null; } if (TxtSelectAcoountTilte != null) { TxtSelectAcoountTilte.Dispose(); TxtSelectAcoountTilte = null; } }