/// <summary> /// Creates an instance of <see cref="HistorianUserControl"/> class. /// </summary> public HistorianUserControl() { InitializeComponent(); m_dataContext = new Historians(15); m_dataContext.PropertyChanged += ViewModel_PropertyChanged; this.DataContext = m_dataContext; }
/// <summary> /// Creates an instance of <see cref="HistorianUserControl"/> class. /// </summary> public HistorianUserControl() { InitializeComponent(); m_dataContext = new Historians(15); m_dataContext.PropertyChanged += new PropertyChangedEventHandler(ViewModel_PropertyChanged); this.DataContext = m_dataContext; }