Beispiel #1
0
 private void CutCopyTV(bool AreCut)
 {
     AppClipboard.Clear();
     AppClipboard.AreCut    = AreCut;
     AppClipboard.directory = ((TreeNode_)TV_item.SelectedNode).ExplorerNode.Parent;
     AppClipboard.Add(((TreeNode_)TV_item.SelectedNode).ExplorerNode);
     AppClipboard.Clipboard = true;
 }
Beispiel #2
0
        private void CutCopy(bool AreCut)
        {
            AppClipboard.Clear();
            AppClipboard.AreCut = AreCut;
            TreeViewDataModel model = treeView.SelectedItem as TreeViewDataModel;

            AppClipboard.directory = model.DisplayData.Node.Parent;
            AppClipboard.Add(model.DisplayData.Node);
            AppClipboard.Clipboard = true;
        }
Beispiel #3
0
 void CutCopy(bool cut)
 {
     AppClipboard.Clear();
     AppClipboard.AreCut    = cut;
     AppClipboard.directory = managerexplorernodes.NodeWorking();
     foreach (LV_data item in LV_items.SelectedItems)
     {
         AppClipboard.Add(item.Node);
     }
     AppClipboard.Clipboard = true;
 }
Beispiel #4
0
        void AddClipboard_(bool AreCut)
        {
            AppClipboard.Clear();
            AppClipboard.AreCut    = AreCut;
            AppClipboard.directory = managerhistory_itemnodes.NodeWorking();
            bool AreCloud = !string.IsNullOrEmpty(managerhistory_itemnodes.Root.RootType.Email);

            foreach (ListViewItem item in LV_item.SelectedItems)
            {
                ItemNode node = FindNodeLV(item);
                if (node != null)
                {
                    AppClipboard.Add(node);
                }
            }
            AppClipboard.Clipboard = true;
        }