private void cmRunMethod_Click(object sender, EventArgs e) { if (dgvData.SelectedRows.Count != 1) { SimpleMessage.ShowInfo("Please select one assembly."); return; } try { frmRunMethod frm = new frmRunMethod(this, PathUtils.GetFullFileNames(dgvData.SelectedRows, treeView1.SelectedNode.FullPath), treeView1.SelectedNode.FullPath); frm.ShowDialog(); } catch (Exception ex) { SimpleMessage.ShowException(ex); } }