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

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