Example #1
0
        public MainForm()
        {
            InitializeComponent();

            downloadList1.SelectionChange += new EventHandler(downloadList1_SelectionChange);
            downloadList1.UpdateUI();

            speedLimit = (SpeedLimitExtension)App.Instance.GetExtensionByType(typeof(SpeedLimitExtension));
        }
Example #2
0
        public MainForm()
        {
            InitializeComponent();
            this.Icon = App.Instance.Icon;
            UpdateWCFService();
            //DownloaderService.SetDownloadList(downloadList1);
            Log.OnLogWrite += LogWrite;

            downloadList1.SelectionChange += new EventHandler(downloadList1_SelectionChange);
            downloadList1.UpdateUI();           

            speedLimit = (SpeedLimitExtension)App.Instance.GetExtensionByType(typeof(SpeedLimitExtension));
        }
Example #3
0
 public ProtocolProviderProxy(IProtocolProvider proxy, SpeedLimitExtension speedLimit)
 {
     this.proxy = proxy;
     this.speedLimit = speedLimit;
 }
Example #4
0
 public LimitedRateStreamProxy(Stream proxy, SpeedLimitExtension speedLimit)
 {
     this.speedLimit = speedLimit;
     this.proxy = proxy;
 }