Add timer to a Windows Forms application

后端 未结 3 1575
抹茶落季
抹茶落季 2020-11-29 06:41

I want to add a timer rather than a countdown which automatically starts when the form loads. Starting time should be 45 minutes and once it ends, i.e. on reaching 0 minute

3条回答
  •  不知归路
    2020-11-29 07:21

    Download http://download.cnet.com/Free-Desktop-Timer/3000-2350_4-75415517.html

    Then add a button or something on the form and inside its event, just open this app ie:

    {

    Process.Start(@"C:\Program Files (x86)\Free Desktop Timer\DesktopTimer");

    }

提交回复
热议问题