CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2016
    Posts
    2

    Question secondary thread

    What should I do for my wpf grid to receive and handle data; although notifications arrive from a secondary thread.

  2. #2
    Join Date
    May 2016
    Posts
    4

    Re: secondary thread

    I am quite comfortable with the beautiful question you asked. Anyway I use ****** grid running my program. This c# code will help you base on your question.

    C#

    System.Threading.Timer timer = new System.Threading.Timer(state =>
    {
    Order order = _orders[random.Next(_orders.Count)];
    order.Price = random.Next(50, 200) + random.NextDouble();
    }, null, 0, 500);

  3. #3
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: secondary thread

    Hello,

    You have made a number of similar posts that seem to be (thinly) disguised ads for your product. Forum rules allow you to make one product announcement in the Announcements forum, but please stop posting this sort of thing elsewhere.

    Thanks!

    [Thread Closed]
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured