private void JoinServer_Click(object sender, RoutedEventArgs e) { var server = new JoinServer(); server.Show(); }