Пример #1
0
        public QDockingWindow GetWindow(Type t)
        {
            QDockingWindow window = null;

            Windows.TryGetValue(t, out window);
            return(window);
        }
Пример #2
0
        public void CloseDocument(Type doctype, string key)
        {
            DocumentsDictionary docs = _documents[doctype];
            QDockingWindow      doc  = null;

            if (docs.TryGetValue(key, out doc))
            {
                doc.Close();
            }
        }