private void newToolStripMenuItem_Click(object sender, EventArgs e) { frmPassword frm = new frmPassword(); frm.ShowDialog(); refreshList(); }
private void lvPasswords_DoubleClick(object sender, EventArgs e) { if (lvPasswords.SelectedItems.Count == 1) { string appCode = lvPasswords.SelectedItems[0].Text; frmPassword frm = new frmPassword(appCode); frm.ShowDialog(); refreshList(); } }