/// <summary>
 /// Creates a new tool instance.
 /// </summary>
 /// <param name="api">The tool API.</param>
 /// <param name="toolset">The toolset information.</param>
 public ToolCdnFinder(IToolApi api, ToolsetInfoAttribute toolset)
     : base(api, toolset)
 {
     // Create the configuration.
     this.config = new CdnFinderConfig(api);
     // Create the control.
     this.control = new ControlCdnFinder(this.config);
 }
        /// <summary>
        /// Creates a new control instance.
        /// </summary>
        /// <param name="config">The tool configuration.</param>
        public ControlCdnFinder(CdnFinderConfig config)
        {
            // Initialize the component.
            this.InitializeComponent();

            // Set the configuration.
            this.config = config;

            // Set the status.
            this.status = this.config.Api.Status.GetHandler(this);
            this.status.Send(ApplicationStatus.StatusType.Normal, "Ready.", Resources.Information_16);

            // Create the request.
            this.request = new CdnFinderRequest(this.config);

            // Load the configuration.
            this.textBoxUrl.Text = this.config.ServerUrl;
        }
 /// <summary>
 /// Creates a new CDN Finder request instance.
 /// </summary>
 /// <param name="config">The configuration.</param>
 public CdnFinderRequest(CdnFinderConfig config)
 {
     this.config = config;
 }