Пример #1
0
 void ReleaseDesignerOutlets()
 {
     if (Email != null)
     {
         Email.Dispose();
         Email = null;
     }
     if (ErrorText != null)
     {
         ErrorText.Dispose();
         ErrorText = null;
     }
     if (FirstNameChoice != null)
     {
         FirstNameChoice.Dispose();
         FirstNameChoice = null;
     }
     if (LastNameChoice != null)
     {
         LastNameChoice.Dispose();
         LastNameChoice = null;
     }
     if (PasswordChoice != null)
     {
         PasswordChoice.Dispose();
         PasswordChoice = null;
     }
     if (PasswordConfirm != null)
     {
         PasswordConfirm.Dispose();
         PasswordConfirm = null;
     }
     if (Signup != null)
     {
         Signup.Dispose();
         Signup = null;
     }
     if (UsernameChoice != null)
     {
         UsernameChoice.Dispose();
         UsernameChoice = null;
     }
 }