/// <summary>
 /// A build has been completed. Update the UI and refresh the list of templates.
 /// </summary>
 /// <param name="sender">The object that sent this event.</param>
 /// <param name="e">The arguments describing this event.</param>
 private void ReleaseBuilder_BuildCompleted(object sender, EventArgs e)
 {
     Dispatcher.Invoke(() =>
     {
         UpdateState();
         TemplatesView.UpdateTemplates();
     });
 }
        /// <summary>
        /// Initialize a new instance of this control.
        /// </summary>
        public TemplatesView()
        {
            InitializeComponent();

            txtStatus.Text = string.Empty;

            UpdateState();

            DefaultTemplatesView = this;
            UpdateTemplates();
        }