public SelectDestinationDialog(
            string path,
            SELECT_DESTINATION_OPERATION op,
            FileBrowserIPlugIn fbPlugin)
            : this()
        {
            string operation = "Copy file";
            Icon   ic        = Resources.Library;

            _activeShares = fbPlugin.GetActiveShares();
            if (_platform == LikewiseTargetPlatform.Windows)
            {
                _pathSeparator = "\\";
            }

            if (op == SELECT_DESTINATION_OPERATION.COPY_DIRECTORY)
            {
                operation = "Copy directory";
            }
            else if (op == SELECT_DESTINATION_OPERATION.MOVE_FILE)
            {
                operation = "Move file";
            }
            else if (op == SELECT_DESTINATION_OPERATION.MOVE_DIRECTORY)
            {
                operation = "Move directory";
            }

            this.tbPath.Text = path;
            this.Text        = operation;

            BuildTopNodes();
            EnumChildren((FileBrowserNode)tvDestinationTree.Nodes.Find("Network", false)[0]);
        }
        public SelectDestinationDialog(
            string path,
            SELECT_DESTINATION_OPERATION op,
            FileBrowserIPlugIn fbPlugin)
            : this()
        {
            string operation = "Copy file";
            Icon ic = Resources.Library;

            _activeShares = fbPlugin.GetActiveShares();
			if(_platform == LikewiseTargetPlatform.Windows)
			{
				_pathSeparator = "\\";
			}

            if (op == SELECT_DESTINATION_OPERATION.COPY_DIRECTORY)
                operation = "Copy directory";
            else if (op == SELECT_DESTINATION_OPERATION.MOVE_FILE)
                operation = "Move file";
            else if (op == SELECT_DESTINATION_OPERATION.MOVE_DIRECTORY)
                operation = "Move directory";

            this.tbPath.Text = path;
            this.Text = operation;

            BuildTopNodes();
            EnumChildren((FileBrowserNode)tvDestinationTree.Nodes.Find("Network", false)[0]);
        }