/// <summary>
 /// Occurs when a folder item was double clicked.
 /// </summary>
 private void OnDoubleClickDirectory(string strPath)
 {
     if (DoubleClickDirectory != null)
     {
         DoubleClickDirectoryEventArgs eventArgs = new DoubleClickDirectoryEventArgs();
         if (File.Exists(strPath) || Directory.Exists(strPath))
         {
             eventArgs.m_strPath = strPath;
         }
         DoubleClickDirectory(this, eventArgs);
     }
 }
Пример #2
0
 private void OnDoubleClickDirectory(object sender, DoubleClickDirectoryEventArgs args)
 {
     if (args != null)
     {
         CatalogItem folder = _cat.GetByVPath(args.m_strPath);
         AddCurrentFolderToHistory();
         BrowseCatalogFolder(folder);
     }
 }
Пример #3
0
 /// <summary>
 /// Occurs when a folder item was double clicked.
 /// </summary>
 private void OnDoubleClickDirectory(string strPath)
 {
     if (DoubleClickDirectory != null)
     {
         DoubleClickDirectoryEventArgs eventArgs = new DoubleClickDirectoryEventArgs();
         if (File.Exists(strPath) || Directory.Exists(strPath))
         {
             eventArgs.m_strPath = strPath;
         }
         DoubleClickDirectory(this, eventArgs);
     }
 }
Пример #4
0
        private void OnDoubleClickDirectory(object sender, DoubleClickDirectoryEventArgs args)
        {
            Application.UseWaitCursor = (true);

            if (!disableEvents)
            {
                disableEvents = true;
                string folderPath = args.m_strPath;
                DisplayCurrentPath();
                disableEvents = false;
            }

            Application.UseWaitCursor = (false);
        }
Пример #5
0
 /// <summary>
 /// Occurs when a folder item was double clicked.
 /// </summary>
 private void OnDoubleClickDirectory(string strPath)
 {
     if (DoubleClickDirectory != null)
     {
         DoubleClickDirectoryEventArgs eventArgs = new DoubleClickDirectoryEventArgs();
         eventArgs.m_strPath = strPath;
         DoubleClickDirectory(this, eventArgs);
     }
 }