Example #1
0
        protected virtual void OnNewResult(BetfredParserEventArgs e)
        {
            EventHandler <BetfredParserEventArgs> handler = NewResult;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
 private void Parser_NewResult(object sender, BetfredParserEventArgs e)
 {
     bindingSource1.Add(e.Result);
     countStatusLabel.Text = bindingSource1.Count.ToString();
     Application.DoEvents();
 }