using System.Linq;\r
using System.Threading;\r
using System.Windows;\r
- using System.Windows.Forms;\r
using System.Windows.Input;\r
\r
using Caliburn.Micro;\r
this.CurrentTask = new EncodeTask(queueEditTask);\r
this.NotifyOfPropertyChange(() => this.CurrentTask);\r
this.HasSource = true;\r
-\r
+ \r
// Update the Main Window\r
this.NotifyOfPropertyChange(() => this.Destination);\r
- this.NotifyOfPropertyChange(() => this.SelectedStartPoint);\r
- this.NotifyOfPropertyChange(() => this.SelectedEndPoint);\r
- this.NotifyOfPropertyChange(() => this.SelectedAngle);\r
- this.NotifyOfPropertyChange(() => this.SelectedPointToPoint);\r
+ this.SelectedAngle = this.CurrentTask.Angle;\r
+ int start = this.CurrentTask.StartPoint;\r
+ int end = this.CurrentTask.EndPoint;\r
+ this.SelectedPointToPoint = this.CurrentTask.PointToPointMode; // Force reset.\r
+ this.SelectedStartPoint = start;\r
+ this.SelectedEndPoint = end;\r
this.NotifyOfPropertyChange(() => this.SelectedOutputFormat);\r
this.NotifyOfPropertyChange(() => IsMkv);\r
\r