Hi All,
I created a custom editor in my VSPackage using the following code:
public class MyEditorControl : System.Windows.Forms.UserControl,
IVsPersistDocData,
IPersistFileFormat,
IVsWindowPane,
IVsDocDataFileChangeControl
I have created the editor instance in IVsEditorFactory factory class. I have a button inside this control.I want this editor has to be closed when user clicks the button. I tried to get parent of this usercontrol but it is showing as null. How can I close the editor programatically.
Thanks in advance,
Sriram