Skip to content

A custom pomodoro timer that is used to keep track of the amount of time spent working and breaks taken.

License

Notifications You must be signed in to change notification settings

10xJosh/JoshsPomodoroTimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JoshsPomodoroTimer

A simple pomodoro timer that can be used to help you keep track and stay focused on your work.

pomodorotimer

Learning Takeaways (For those that are curious):

  • UI elements such as labels cant be updated if a method is changing it on a seperate thread. Use labelname.Dispatcher.BeginInvoke(new Action(() => {//code goes here};); to get around this.

  • Becareful Instantiating a form object, they can lead to memory leaks if they are not disposed of properly.

  • Use cancellation tokens to cancel operations on different threads. https://www.youtube.com/watch?v=TKc5A3exKBQ

  • Using design patterns when making a program makes life a lot easier and simplier. I will be looking more into this topic.

  • To access a directory within a project solution use AppDomain.CurrentDomain.BaseDirectory + "()"; so that when the code is published, it will always reference the correct files no matter where program is installed.

About

A custom pomodoro timer that is used to keep track of the amount of time spent working and breaks taken.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages