void bw_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { try { TitleSetter T = new TitleSetter(SetTitle); invoke(T, new object[] { "Whatever the title should be" }); //This can fail horribly, need the try/catch logic. }catch (Exception) {} }
public TitleAssembler(TitleSetter TitleSetter) { this.setTitle = TitleSetter; titleTemplate = "{0}"; }