private void miNewQuery_Click(object sender, RoutedEventArgs e) { // open new query form QueryView qv = new QueryView(); qv.ShowDialog(); }