Ejemplo n.º 1
0
 void ReleaseDesignerOutlets()
 {
     if (CategoryTable != null)
     {
         CategoryTable.Dispose();
         CategoryTable = null;
     }
     if (CoursesTabBarItem != null)
     {
         CoursesTabBarItem.Dispose();
         CoursesTabBarItem = null;
     }
     if (ProfileTabBarItem != null)
     {
         ProfileTabBarItem.Dispose();
         ProfileTabBarItem = null;
     }
     if (SearchBar != null)
     {
         SearchBar.Dispose();
         SearchBar = null;
     }
     if (SearchResultsTable != null)
     {
         SearchResultsTable.Dispose();
         SearchResultsTable = null;
     }
     if (TabBar != null)
     {
         TabBar.Dispose();
         TabBar = null;
     }
     if (TvNoCoursesFound != null)
     {
         TvNoCoursesFound.Dispose();
         TvNoCoursesFound = null;
     }
     if (TvSearchFaulted != null)
     {
         TvSearchFaulted.Dispose();
         TvSearchFaulted = null;
     }
     if (TvSearching != null)
     {
         TvSearching.Dispose();
         TvSearching = null;
     }
 }
Ejemplo n.º 2
0
 void ReleaseDesignerOutlets()
 {
     if (CoursesTabBarItem != null)
     {
         CoursesTabBarItem.Dispose();
         CoursesTabBarItem = null;
     }
     if (PleaseLogin != null)
     {
         PleaseLogin.Dispose();
         PleaseLogin = null;
     }
     if (ProfileData != null)
     {
         ProfileData.Dispose();
         ProfileData = null;
     }
     if (ProfileTabBarItem != null)
     {
         ProfileTabBarItem.Dispose();
         ProfileTabBarItem = null;
     }
     if (TabBar != null)
     {
         TabBar.Dispose();
         TabBar = null;
     }
     if (TvEmail != null)
     {
         TvEmail.Dispose();
         TvEmail = null;
     }
     if (TvFirstName != null)
     {
         TvFirstName.Dispose();
         TvFirstName = null;
     }
     if (TvLastName != null)
     {
         TvLastName.Dispose();
         TvLastName = null;
     }
 }