private void SetModelForAllViews(ClippingsFileParser clippingsFileParser) { foreach (BaseClippingsView view in m_MainWindow.ListOfAllViews) { view.Model = clippingsFileParser; } }
private void OpenMyClippingsFile(string fullFilePath) { m_ClippingsFileParserInstance = new ClippingsFileParser(fullFilePath); SetModelForAllViews(m_ClippingsFileParserInstance); m_MainWindow.menuItemView.IsEnabled = true; MenuItemVerticalListViewClick(); }