YearlyDetail.xaml 的交互逻辑
Наследование: 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();
 }
Пример #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();
        }