private void Button_Click(object sender, RoutedEventArgs e) { GadgetWindow window = new GadgetWindow(); window.Show(); }