private void ThisAddIn_Startup(object sender, System.EventArgs e) { _host.Start(); //var pane = this.CustomTaskPanes.Add(control, "Dialog Helper"); //pane.Visible = true; // attach the save handler //wsh = new WordSaveHandler(Application); //wsh.AfterAutoSaveEvent += Wsh_AfterAutoSaveEvent; //wsh.AfterSaveEvent += Wsh_AfterAutoSaveEvent; //wsh.AfterUiSaveEvent += Wsh_AfterAutoSaveEvent; }