示例#1
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;
     }
 }