private void Button_Click(object sender, RoutedEventArgs e) { user user = new user(data); user.ShowDialog(); }