Ejemplo n.º 1
0
        public bool CopyOrLinkFolder(string folder, out CopyAction action)
        {
            var dialog = new AddFolderDialog(folder);

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                action = dialog.responce;
                return(true);
            }

            action = CopyAction.Link;
            return(false);
        }
Ejemplo n.º 2
0
        public bool CopyOrLinkFolder(string folder, bool exists, out CopyAction action, out bool applyforall)
        {
            var dialog = new AddFolderDialog(folder);

            applyforall = false;

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                action = dialog.responce;
                return(true);
            }

            action = CopyAction.Link;
            return(false);
        }
Ejemplo n.º 3
0
        public bool CopyOrLinkFolder(string folder, out CopyAction action)
        {
            var afd = new AddFolderDialog(folder);

            afd.TransientFor = this;

            if (afd.Run() == (int)ResponseType.Ok)
            {
                action = afd.responce;
                return(true);
            }

            action = CopyAction.Link;
            return(false);
        }
Ejemplo n.º 4
0
        public bool CopyOrLinkFolder(string folder, out CopyAction action)
        {
            var afd = new AddFolderDialog(folder);
            afd.TransientFor = this;

            if (afd.Run() == (int)ResponseType.Ok)
            {
                action = afd.responce;
                return true;
            }

            action = CopyAction.Link;
            return false;
        }
Ejemplo n.º 5
0
        public bool CopyOrLinkFolder(string folder, bool exists, out CopyAction action, out bool applyforall)
        {
            var dialog = new AddFolderDialog(folder);
            applyforall = false;

            if (dialog.ShowDialog() == DialogResult.OK)
            {
                action = dialog.responce;
                return true;
            }

            action = CopyAction.Link;
            return false;
        }
Ejemplo n.º 6
0
        public bool CopyOrLinkFolder(string folder, out CopyAction action)
        {
            var dialog = new AddFolderDialog(folder);
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                action = dialog.responce;
                return true;
            }

            action = CopyAction.Link;
            return false;
        }