private IntPtr getWindow() { Explorer explorer = Context as Explorer; IntPtr explorerHandle = (IntPtr)0; if (explorer != null) { IOleWindow window = explorer as IOleWindow; if (window != null) { window.GetWindow(out explorerHandle); } } return explorerHandle; } private void enterKey() { try { SendKeys.SendWait("{ENTER}"); } catch{ } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)