private void pictureBox1_Click(object sender, EventArgs e) { flags = WinAPI.AW_ACTIVATE | WinAPI.AW_BLEND; FolderLock a = new FolderLock(1000, flags); //FolderLock fl = new FolderLock(); a.ShowDialog(); }
private void lockFileToolStripMenuItem_Click(object sender, EventArgs e) { FolderLock fl = new FolderLock(); fl.ShowDialog(); }