using Cowain.Bake.BLL; using Cowain.Bake.Model; using Prism.Common; using Prism.Regions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace Cowain.Bake.UI.ProductManagement.Views { /// /// TaskMaintainView.xaml 的交互逻辑 /// public partial class TaskMaintainView : UserControl { public TaskMaintainView() { InitializeComponent(); //RegionContext.GetObservableContext(this).PropertyChanged += PersonDetail_PropertyChanged; } //private void PersonDetail_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) //{ // var context = (ObservableObject)sender; // var selectedPerson = (TTaskType)context.Value; // //(DataContext as PersonDetailViewModel).SelectedPerson = selectedPerson; //} } }