private void listViewParameters_DoubleClick(object sender, EventArgs e) { if (listViewParameters.SelectedItems.Count > 0) { ListViewItem lvi = listViewParameters.SelectedItems[0]; Type type = (Type)lvi.SubItems[1].Tag; TypeInfoForm form = new TypeInfoForm(type); form.Show(); } }
private void btnViewType_Click(object sender, EventArgs e) { TypeInfoForm form = new TypeInfoForm(_methodInfo.ReturnType); form.Show(); }