private void CryptoPadMain_Load(object sender, EventArgs e) { var dlg = new PasswordDialog(); if (dlg.ShowDialog() == DialogResult.OK) Login(dlg.Password); else Application.Exit(); }
private void CryptoPadMain_Load(object sender, EventArgs e) { var dlg = new PasswordDialog(); if (dlg.ShowDialog() == DialogResult.OK) { Login(dlg.Password); } else { Application.Exit(); } }