Exemple #1
0
        private void DirList_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ShowDirPictures();
            TabContent.HideTabContent();
            imageList.Focus();

            scrollViewer.ScrollToVerticalOffset(0);
        }
        private void Button_NewItem(object sender, RoutedEventArgs e)
        {
            InnerStructItem item = _CurInfo.CreateItem();

            _ItemList.HideNoRecord();
            TabContent.HideTabContent();

            SetDataContent(item);
        }
        public void ConItem_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ItemAttrPanel.Visibility = System.Windows.Visibility.Visible;

            if (e.AddedItems.Count > 0)
            {
                _CurItem = e.AddedItems[0] as InnerStructItem;
                ItemAttrPanel.DataContext = _CurItem;
            }

            TabContent.HideTabContent();

            //InitItemType1();
        }