Ejemplo n.º 1
0
 private void explorerplusfv_SelectedFileDoubleClickEx(string path, ENTRY_TYPE type)
 {
     switch (type)
     {
     case ENTRY_TYPE.File:     //Wenn es eine Datei ist, soll diese geöffnet werden
         System.Diagnostics.Process.Start(path);
         break;
     }
 }
Ejemplo n.º 2
0
 private void explorerplusfv_SelectedFileDoubleClickEx(string path, ENTRY_TYPE type)
 {
     switch(type)
     {
         case ENTRY_TYPE.File: //Wenn es eine Datei ist, soll diese geöffnet werden
             System.Diagnostics.Process.Start(path);
             break;
     }
 }
Ejemplo n.º 3
0
 private void explorerplusfv_SelectedFileDoubleClickEx(string path, ENTRY_TYPE type)
 {
     listOpen1.Refresh();
     if (Path.GetExtension(path) == ".txt")
     {
         sd.readtxtFile(path);
     }
     else
     {
         switch (type)
         {
         case ENTRY_TYPE.File: //Wenn es eine Datei ist, soll diese geöffnet werden
             System.Diagnostics.Process.Start(path);
             break;
         }
     }
 }
Ejemplo n.º 4
0
 private void explorerplusfv_SelectedFileClick(string path, ENTRY_TYPE type)
 {
     //Anhand des Paths, der zurückgegeben wird, soll
     switch (type)
     {
         case ENTRY_TYPE.Drive:
             ExplorerPlusStatusDrive sdr = new ExplorerPlusStatusDrive(Convert.ToChar(path.Substring(0, 1)));
             sdr.Dock = DockStyle.Fill;
             sdr.Show();
             statuspanel.Controls.Clear();
             statuspanel.Controls.Add(sdr);
             break;
         case ENTRY_TYPE.Directory:
             ExplorerPlusStatusDirectory sd = new ExplorerPlusStatusDirectory(path);
             sd.Dock = DockStyle.Fill;
             sd.Show();
             statuspanel.Controls.Clear();
             statuspanel.Controls.Add(sd);
             break;
     }
 }
Ejemplo n.º 5
0
        private void explorerplusfv_SelectedFileClick(string path, ENTRY_TYPE type)
        {
            //Anhand des Paths, der zurückgegeben wird, soll
            switch (type)
            {
            case ENTRY_TYPE.Drive:
                ExplorerPlusStatusDrive sdr = new ExplorerPlusStatusDrive(Convert.ToChar(path.Substring(0, 1)));
                sdr.Dock = DockStyle.Fill;
                sdr.Show();
                statuspanel.Controls.Clear();
                statuspanel.Controls.Add(sdr);
                break;

            case ENTRY_TYPE.Directory:
                ExplorerPlusStatusDirectory sd = new ExplorerPlusStatusDirectory(path);
                sd.Dock = DockStyle.Fill;
                sd.Show();
                statuspanel.Controls.Clear();
                statuspanel.Controls.Add(sd);
                break;
            }
        }