private void displayItem(object item)
 {
     InfoDialog id = new InfoDialog();
     id.Message = item.ToString();
     User selectedUser = (User)item;
     string userProperties = ", " + selectedUser.Desk + ", " + selectedUser.Email  + ", "+ selectedUser.Password  + ", "+ selectedUser.Username;
     id.Message += userProperties;
 }
 public void ShowSomething()
 {
     InfoDialog iDialog = new InfoDialog();
     iDialog.Message = "Done";
     iDialog.Show();
 }
 public void ShowSomething()
 {
     InfoDialog iDialog = new InfoDialog();
     iDialog.Message = "Operation success";
     iDialog.Present();
 }