private void SP_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (SP.SelectedIndex != -1) { StundenInfo si = new StundenInfo(); si.ShowDialog(); } }
private void DataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (mvm.SelStunde != null) { StundenInfo si = new StundenInfo(); si.ShowDialog(); } }