示例#1
0
        private void Copy()
        {
            try
            {
                string file = LeftPanel.File.file;
                string filePath = Path.GetFileName(file);
                string destination = RightPanel.path + '\\' + filePath;
                LeftPanel.File = null;

                File.Copy(file, destination, true);
            }
            catch { }

            LeftPanel.Reload(LeftPanel.path);
            RightPanel.Reload(RightPanel.path);
        }