Exemple #1
0
        private void ButtonShowGrid(object sender, RoutedEventArgs e)
        {
            if (_GridShow == null)
            {
                _GridShow = new ContentDataGrid(_ContentFile);
            }
            if (_GridShow == null)
            {
                return;
            }


            contentFrame.ChangeContent(_GridShow, PathContentTranstitionType.RIGHT_IN);
        }
Exemple #2
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);
        }
        private void ButtonShowGrid(object sender, RoutedEventArgs e)
        {
            if (_GridShow == null)
            {
                _GridShow = new ContentDataGrid(_ContentFile);
            }
            if (_GridShow == null)
                return;


            contentFrame.ChangeContent(_GridShow, PathContentTranstitionType.RIGHT_IN);
        }
        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);
        }