Ejemplo n.º 1
0
        /// <summary>
        /// Displays HTTP headers in a new window
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void menuItemHeaders_Click(object sender, EventArgs e)
        {
            if (listView.SelectedItems.Count <= 0)
            {
                return;
            }
            DebugItem      item = (DebugItem)listView.SelectedItems[0];
            HttpHeaderForm form = new HttpHeaderForm(item);

            form.Icon = this.Icon;
            form.Show();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Displays HTTP headers in a new window
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
 private void menuItemHeaders_Click(object sender, EventArgs e)
 {
     if (listView.SelectedItems.Count <= 0) {
         return;
     }
     DebugItem item = (DebugItem) listView.SelectedItems[0];
     HttpHeaderForm form = new HttpHeaderForm(item);
     form.Icon = this.Icon;
     form.Show();
 }