private void button2_Click(object sender, EventArgs e) { Folder_Lock_os_ f = new Folder_Lock_os_(); f.Show(); this.Close(); }
static void Main(string[] args) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); //Application.Run(new Folder_Lock_os_()); Folder_Lock_os_ f = new Folder_Lock_os_(); if (args.Length > 0) { f.pathkey = args[0]; } Application.Run(f); }