private void listViewMethods_DoubleClick(object sender, EventArgs e) { if (listViewMethods.SelectedItems.Count > 0) { InvokeForm frm = new InvokeForm((MethodInfo)listViewMethods.SelectedItems[0].Tag, m_pObject); frm.ShowDialog(); UpdateProperties(); } }
private void listViewMethods_MouseDoubleClick(object sender, MouseEventArgs e) { if (listViewMethods.SelectedItems.Count > 0) { using (InvokeForm frm = new InvokeForm(m_registry, (MethodInfo)listViewMethods.SelectedItems[0].Tag, m_pObject, m_objName)) { frm.ShowDialog(); } UpdateProperties(); } }