using wd = Microsoft.Office.Interop.Word; wd.Application wdApp = new wd.Application(); wdApp.Visible = true; ((wd.ApplicationEvents4_Event)wdApp).Quit += () => { MessageBox.Show("Exited!"); };
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)