Beispiel #1
0
        private void ButtonRefresh(object sender, RoutedEventArgs e)
        {
            if (_GridShow != null)
            {
                contentFrame.ChangeContent(_GridShow, PathContentTranstitionType.RIGHT_OUT);
                _GridShow = null;
            }
            if (_ListShow != null)
            {
                contentFrame.ChangeContent(_ListShow, PathContentTranstitionType.RIGHT_OUT);
                _ListShow = null;
            }

            ReadContent.ReadContentFile(_ContentFile.ConstructFile, ref _ContentFile);
        }
Beispiel #2
0
        public void InitFiles()
        {
            ContentFiles = new ContentFileCollection();
            ReadContent.ReadAll();

            foreach (ContentFile contentFile in ContentFiles)
            {
                foreach (ContentRow contentRow in contentFile.ContentRow)
                {
                    foreach (ContentItem contentItem in contentRow._ContentItems)
                    {
                        contentItem.CheckValidate();
                        contentItem.SetTableReference();
                    }
                }
            }
        }
 private void Grid_Loaded_1(object sender, RoutedEventArgs e)
 {
     ReadContent.ReLoadNeed();
 }