Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Stats"/> class.
        /// </summary>
        public Stats()
        {
            InitializeComponent();

            service = new EthereumService();

            this.usedAddressesValueLinkLabel.Text  = "0";
            this.totalAddressesValueLabel.Text     = EthereumService.TotalAddresses;
            this.propabilityPerPageValueLabel.Text = "0";

            service.UsedAddressesRetrieved += OnUsedAddressesUpdated;
            service.ParsedPagesRetrieved   += OnTotalPagesParsedUpdated;

            service.GetUsedAddresses();
            service.GetParsedPages();
        }