private void OpenHTTPView(object sender, EventArgs e) { var httpView = new HTTPView(); _httpPresenter = new HTTPPresenter(httpView); UpdateViewPanel(_httpPresenter.HTTPView); }
public HTTPPresenter(HTTPView httpView) { HTTPView = httpView; KaptureConfig = KaptureConfig.GetInstance(); Configuration = (Configuration)KaptureConfig.ConfigManager.Config; HTTPView.HTTPEnabled = Configuration.HTTP.HTTPEnabled; HTTPView.Endpoint = Configuration.HTTP.Endpoint; HTTPView.CustomJson = Configuration.HTTP.CustomJson; HTTPView.HTTPEnabledChanged += HTTPEnabledChanged; HTTPView.HTTPUpdated += HTTPUpdated; }