/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void DGV_HTTPRequests_DoubleClick(object sender, EventArgs e) { try { BindingList <HTTPRequests> lTmpHosts = new BindingList <HTTPRequests>(); int lCurIndex = DGV_HTTPRequests.CurrentCell.RowIndex; String lRequest = DGV_HTTPRequests.Rows[lCurIndex].Cells["Request"].Value.ToString(); lRequest = Regex.Replace(lRequest, @"\.\.", "\r\n"); ShowRequest lRequestDetails = new ShowRequest(lRequest); lRequestDetails.ShowDialog(); } catch (Exception lEx) { PluginParameters.HostApplication.LogMessage(String.Format("{0}: {1}", Config.PluginName, lEx.Message)); } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void DGV_HTTPRequests_DoubleClick(object sender, EventArgs e) { try { BindingList<HTTPRequests> lTmpHosts = new BindingList<HTTPRequests>(); int lCurIndex = DGV_HTTPRequests.CurrentCell.RowIndex; String lRequest = DGV_HTTPRequests.Rows[lCurIndex].Cells["Request"].Value.ToString(); lRequest = Regex.Replace(lRequest, @"\.\.", "\r\n"); ShowRequest lRequestDetails = new ShowRequest(lRequest); lRequestDetails.ShowDialog(); } catch (Exception lEx) { PluginParameters.HostApplication.LogMessage(String.Format("{0}: {1}", Config.PluginName, lEx.Message)); } }