Exemplo n.º 1
0
        /// <summary>
        /// If click the library data(material, laminate) It open detail data
        /// </summary>
        /// <param name="parameter"></param>
        public void OpenLibraryData(AnalysisViewModel parameter)
        {
            if (parameter == null)
            {
                return;
            }

            ViewModelApplication.LibraryWideMenuVisible  = parameter.LibrarySpaceVisible;
            ViewModelApplication.AnalysisWideMenuVisible = parameter.AnalysisSubListVisible;

            var analysisviewmodel = parameter;

            // Get analysis contents list and data
            ViewModelApplication.GoToLibrary(ApplicationPage.Library, analysisviewmodel);
        }