Ejemplo n.º 1
0
        private void startVDriveToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Dokan.Unmount(vDriveLetter);
            di = new VDrive();
#if DEBUG
            Thread t2 = new Thread(() => { di.Mount(vDriveLetter + ":\\", DokanOptions.DebugMode, 1); });
#else
            Thread t2 = new Thread(() => { di.Mount(vDriveLetter + ":\\", DokanOptions.FixedDrive, 10); });
#endif
            t2.Start();
        }
Ejemplo n.º 2
0
 private void closeVDriveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     VDrive.UnMount(vDriveLetter);
 }
Ejemplo n.º 3
0
 private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     VDrive.UnMount(vDriveLetter);
 }
Ejemplo n.º 4
0
 private void startVDriveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     VDrive.startVDrive(vDriveLetter);
 }