/// <summary>
        /// Occurs when multiple items were selected.
        /// </summary>
        private void OnSelectMultipleItems()
        {
            if (SelectMultipleItems != null)
            {
                SelectMultipleItemsEventArgs eventArgs = new SelectMultipleItemsEventArgs();
                eventArgs.m_strPaths = new List <string>(SelectedPaths);

                SelectMultipleItems(this, eventArgs);
            }
        }
Ejemplo n.º 2
0
 private void OnSelectMultipleItems(object sender, SelectMultipleItemsEventArgs args)
 {
     if (args != null)
     {
         RaiseNavigationAction(NavActionType.ActionSelectMultipleItems, args.m_strPaths, _cat);
     }
 }
Ejemplo n.º 3
0
        private void OnSelectMultipleItems(object sender, SelectMultipleItemsEventArgs args)
        {
            CancelAutoPreview();

            if (args != null)
            {
                RaiseNavigationAction(NavActionType.ActionSelectMultipleItems, args.m_strPaths);
            }
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Occurs when multiple items were selected.
        /// </summary>
		private void OnSelectMultipleItems()
		{
            if (SelectMultipleItems != null)
            {
                SelectMultipleItemsEventArgs eventArgs = new SelectMultipleItemsEventArgs();
                eventArgs.m_strPaths = new List<string>(SelectedPaths);

                SelectMultipleItems(this, eventArgs);
            }
		}
Ejemplo n.º 5
0
        /// <summary>
        /// Occurs when multiple items were selected.
        /// </summary>
        private void OnSelectMultipleItems()
        {
            if (SelectMultipleItems != null)
            {
                SelectMultipleItemsEventArgs eventArgs = new SelectMultipleItemsEventArgs();
                eventArgs.m_strPaths = new List<string>();
                foreach (ListViewItem item in this.SelectedItems)
                {
                    CatalogItem ci = item.Tag as CatalogItem;
                    if (ci != null)
                    {
                        eventArgs.m_strPaths.Add(ci.VPath);
                    }
                }

                SelectMultipleItems(this, eventArgs);
            }
        }
Ejemplo n.º 6
0
        void lvExplorer_SelectMultipleItems(object sender, SelectMultipleItemsEventArgs args)
        {
            List<string> files = new List<string>();
            foreach(string fileName in args.m_strPaths)
            {
                if (File.Exists(fileName))
                {
                    files.Add(fileName);
                }
            }

            FileNames = files.ToArray();
            ShowFileNames();
        }