private void miList_Click(object sender, EventArgs e)
 {
     XMLApiItem apiItem = FiddlerExtension.ApiItems[((ToolStripMenuItem)sender).Name];
     BaseApiMockDialog APIDialog = new BaseApiMockDialog(this, apiItem);
     APIDialog.Title = apiItem.Function;
     APIDialog.ApiUrl = apiItem.Apiurl;
     APIDialog.ShowDialog(this);
 }
        private void miList_Click(object sender, EventArgs e)
        {
            XMLApiItem        apiItem   = FiddlerExtension.ApiItems[((ToolStripMenuItem)sender).Name];
            BaseApiMockDialog APIDialog = new BaseApiMockDialog(this, apiItem);

            APIDialog.Title  = apiItem.Function;
            APIDialog.ApiUrl = apiItem.Apiurl;
            APIDialog.ShowDialog(this);
        }