private Boolean setpassword(string path) { lockey p = new lockey(); p.path = path; p.ShowDialog(); return(true); }
private void button1_Click(object sender, EventArgs e) { lockey dlg2 = new lockey(); dlg2.ShowDialog(); }