private void OnEntryMenuTOTPClick(object sender, EventArgs e)
        {
            PwEntry pe = _pluginHost.MainWindow.GetSelectedEntry(false);

            if (pe != null)
            {
                _plugin.TOTPCopyToClipboard(pe);
            }
        }
Пример #2
0
        protected void OnNotifyMenuTOTPClick(object sender, EventArgs e)
        {
            var menuItem = sender as ToolStripMenuItem;

            if (menuItem == null)
            {
                return;
            }

            var pe = menuItem.Tag as PwEntry;

            if (pe != null)
            {
                Plugin.TOTPCopyToClipboard(pe);
            }
        }