public CodeFileDocumentControl FindTab(string FileName) { if (FileName == null) { return(null); } CodeFileDocumentControl tp = null; OpenDocuments.TryGetValue(Tools.FileNameToLower(FileName), out tp); return(tp); }