예제 #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;
     }
 }
 void ReleaseDesignerOutlets()
 {
     if (BtSendInstructorEmail != null)
     {
         BtSendInstructorEmail.Dispose();
         BtSendInstructorEmail = null;
     }
     if (TvEmployer != null)
     {
         TvEmployer.Dispose();
         TvEmployer = null;
     }
     if (TvEmployerDepartment != null)
     {
         TvEmployerDepartment.Dispose();
         TvEmployerDepartment = null;
     }
     if (TvEmployerDesc != null)
     {
         TvEmployerDesc.Dispose();
         TvEmployerDesc = null;
     }
     if (TvFirstName != null)
     {
         TvFirstName.Dispose();
         TvFirstName = null;
     }
     if (TvInstructorNameDesc != null)
     {
         TvInstructorNameDesc.Dispose();
         TvInstructorNameDesc = null;
     }
     if (TvLastName != null)
     {
         TvLastName.Dispose();
         TvLastName = null;
     }
 }