コード例 #1
0
        void SelectedItemChanged(object sender, PropertyChangedEventArgs e)
        {
            if (SelectedItemInTree == null)
            {
                return;
            }
            else if (!SelectedItemInTree.IsStillActive() || GetRootFromElement(SelectedItemInTree) == null)
            {
                GetDesktop();
            }

            RefreshItemDetails();
        }
コード例 #2
0
        public void CopyXPath()
        {
            string copy = SelectedItemInTree.GetXPath();

            Clipboard.SetText(copy);
        }