private void ChangedWinId() { WinId = null; if (m_file != null && m_file.DataDiskPath != null) { WinId = IOTool.NormalizePath(m_file.DataDiskPath) + "#chart"; } }
public static bool FindOpenedFile(string filename) { if (filename == null) { return(false); } string winid = IOTool.NormalizePath(filename) + "#chart"; if (MainWindow.Instance.HasContent(winid)) { MainWindow.Instance.ActivateContent(winid); return(true); } return(false); }