public void _AddFiddlerTab() { TabPage page = new TabPage("WPAD Server Settings"); mExtensionsSettingsDialog = new ExtensionSettingsDialog(); mExtensionsSettingsDialog.Dock = DockStyle.Fill; page.Controls.Add(mExtensionsSettingsDialog); FiddlerApplication.UI.tabsViews.TabPages.Add(page); }
private void OnWpadMenuItemClick(object sender, EventArgs e) { Form settingDialog = new Form(); ExtensionSettingsDialog extensionSettingsDialog = new ExtensionSettingsDialog(); settingDialog.Controls.Add(extensionSettingsDialog); settingDialog.ClientSize = extensionSettingsDialog.Size; settingDialog.Text = "WPAD Server Settings"; settingDialog.ShowIcon = false; settingDialog.ShowInTaskbar = false; settingDialog.FormBorderStyle = FormBorderStyle.FixedDialog; settingDialog.MinimizeBox = false; settingDialog.MaximizeBox = false; settingDialog.ShowDialog(); }