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