Example #1
0
        public void showUser(String username)
        {
            Debug.WriteLine("showUser");
            Debug.WriteLine(username);
            User user = User.find(username, authToken);

            Debug.WriteLine(user.getUsername());
            viewUser = new ViewUser(this, 1, user);
            viewUser.Show();
        }
Example #2
0
 public void newUser()
 {
     if (isLoggedIn())
     {
         viewUser      = new ViewUser(this, 0);
         viewUser.Text = "New User";
         viewUser.Show();
     }
     else
     {
         viewMessage = new ViewMessage(NOT_LOGGED_IN);
         viewMessage.ShowDialog();
     }
 }