void ReleaseDesignerOutlets() { if (DestinationBar != null) { DestinationBar.Dispose(); DestinationBar = null; } if (ListView != null) { ListView.Dispose(); ListView = null; } if (RestaurantMap != null) { RestaurantMap.Dispose(); RestaurantMap = null; } if (YasssBootun != null) { YasssBootun.Dispose(); YasssBootun = null; } }
void ReleaseDesignerOutlets() { if (DestinationBar != null) { DestinationBar.Dispose(); DestinationBar = null; } if (RestaurantMap != null) { RestaurantMap.Dispose(); RestaurantMap = null; } if (ResultList != null) { ResultList.Dispose(); ResultList = null; } }