public void SetFrame(Data.Frame frame) { this.frame = frame; Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => { frame.Load(); this.DataContext = frame; })); }
public void SetFrame(Data.Frame frame) { this.frame = frame; Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => { frame.Load(); this.DataContext = frame; })); }