/// <summary> /// Creates a new control instance. /// </summary> /// <param name="config">The tool configuration.</param> public ControlTraceroute(TracerouteConfig config) { // Initialize the component. this.InitializeComponent(); // Set the configuration. this.config = config; // Create the traceroute settings. this.settings = new TracerouteSettings(); // Create the traceroute instance. this.traceroute = new Traceroute(this.settings); // Load the configuration. this.OnLoadConfiguration(); // Set the status. this.status = this.config.Api.Status.GetHandler(this); this.status.Send(ApplicationStatus.StatusType.Normal, "Ready.", Resources.Information_16); }
/// <summary> /// Creates a new traceroute instance. /// </summary> /// <param name="settings">The traceroute settings.</param> public Traceroute(TracerouteSettings settings) { // Set the traceroute settings. this.settings = settings; }