private ILoginVisitor <string> loginVisitor;         //The visitor
 public TeacherLogIn()
 {
     this.username     = new NoneLogin(); //Username and password are none by default to avoid null's
     this.password     = new NoneLogin();
     this.loginVisitor = new LogInInformationStoreVisitor <string>();
     this.InitializeComponent();
 }
 //Visit method
 public void VisitTheLoginInformation(ILoginVisitor <string> visitor)
 {
     visitor.OnNone();
 }
 //The visit method
 public void VisitTheLoginInformation(ILoginVisitor <string> visitor)
 {
     visitor.OnPassword(this);
 }
 //The visit method
 public void VisitTheLoginInformation(ILoginVisitor <string> visitor)
 {
     visitor.OnUsername(this);
 }