How to control DispatcherTimer tick rate? RRS feed

  • Question

  • I want to show every second in a textblock for which i used this in a Tick event

    static int time =0;

    void MainPage::OnTick(Object^ sender, Object^ e) 
    time += 1;
    Mytext->Text = time.ToString();

    But timer runs so fast even though i change the duration? Please tell me where i am wrong?

    Saturday, August 23, 2014 2:49 PM