YearlyDetail.xaml 的交互逻辑
Inheritance: System.Windows.Window
 private void dgYearly_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (!this.IsMouseDoubleClickDataGridRow(sender, e))
     {
         return;
     }
     YearlyDetail detail = new YearlyDetail(this.ViewModel.SelectedItem);
     detail.Owner = Application.Current.MainWindow;
     detail.ShowDialog();
 }
Exemplo n.º 2
0
        private void dgYearly_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (!this.IsMouseDoubleClickDataGridRow(sender, e))
            {
                return;
            }
            YearlyDetail detail = new YearlyDetail(this.ViewModel.SelectedItem);

            detail.Owner = Application.Current.MainWindow;
            detail.ShowDialog();
        }