private PerformIntoCurrentWindow ( PwEntry pe ) : bool | ||
pe | PwEntry | |
Résultat | bool |
private static void OnAutoType(object sender, EventArgs e) { ToolStripMenuItem tsmi = (sender as ToolStripMenuItem); Debug.Assert(tsmi != null); if (tsmi == null) { return; } PwEntry pe = (tsmi.Tag as PwEntry); Debug.Assert(pe != null); if (pe == null) { return; } try { AutoType.PerformIntoCurrentWindow(pe, Program.MainForm.DocumentManager.SafeFindContainerOf(pe)); } catch (Exception ex) { MessageService.ShowWarning(ex); } }
private static void OnAutoType(object sender, EventArgs e) { ToolStripMenuItem tsmi = sender as ToolStripMenuItem; Debug.Assert(tsmi != null); if (tsmi == null) { return; } PwEntry pe = tsmi.Tag as PwEntry; Debug.Assert(pe != null); if (pe == null) { return; } try { AutoType.PerformIntoCurrentWindow(pe); } catch (Exception ex) { MessageService.ShowWarning(ex); } }