private void AddUser_Click(object sender, RoutedEventArgs e) { UsersPoco newUser = new UsersPoco(0, "new user login", "", "new user name", 1, 1); UserWindow addUserWindow = new UserWindow(newUser, true); addUserWindow.Show(); }
private void UserImg_MouseDown(object sender, MouseButtonEventArgs e) { UserWindow newWindow = new UserWindow(Global.LoggedUser, false); newWindow.Show(); }