Esempio n. 1
0
        private void Editor_FormClosing(object sender, FormClosingEventArgs e)
        {
            MemberCache.Export();
            dockingPanel.SaveAsXml(Program.PanelsXML);

            //
            // May not be neeed as content_Removed should handle
            if (dockingPanel.DocumentsCount > 0)
            {
                foreach (DockPane pane in dockingPanel.Panes)
                {
                    DockPanel    panel = pane.DockPanel;
                    RemoteSource src;
                    if (panel.ActiveContent is SourceEditor)
                    {
                        LastEditing = null;
                        src         = (panel.ActiveContent as SourceEditor).Tag as RemoteSource;
                        if (src != null)
                        {
                            src.Unlock();
                        }
                    }
                }
            }
        }
Esempio n. 2
0
 private void Editor_FormClosing(object sender, FormClosingEventArgs e)
 {
     MemberCache.Export();
 }
Esempio n. 3
0
 private void Editor_FormClosing(object sender, FormClosingEventArgs e)
 {
     MemberCache.Export();
     dockingPanel.SaveAsXml(Program.PanelsXML);
 }