private void EntryContextCheckItem_OnClick(object sender, EventArgs e) { if (m_host.MainWindow.GetSelectedEntriesCount() == 1) { Forms.KP2faC_EntrieViewForm evf = new Forms.KP2faC_EntrieViewForm(m_host); evf.InitEx(m_host.MainWindow.GetSelectedEntry(true)); evf.ShowDialog(); } }
public override void PerformCellAction(string strColumnName, PwEntry pe) { if ((strColumnName == KP2faColumnName) && (pe != null)) { Forms.KP2faC_EntrieViewForm e2f = new Forms.KP2faC_EntrieViewForm(m_host); e2f.InitEx(pe); e2f.Show(); } }