Esempio 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();
        }
Esempio n. 2
0
 private void closeVDriveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     VDrive.UnMount(vDriveLetter);
 }
Esempio n. 3
0
 private void frmMain_FormClosing(object sender, FormClosingEventArgs e)
 {
     VDrive.UnMount(vDriveLetter);
 }
Esempio n. 4
0
 private void startVDriveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     VDrive.startVDrive(vDriveLetter);
 }