Wednesday, February 8, 2017

Stopwatch emulator # 1 - C Sharp

Stopwatch emulator # 1
(My mobile's Stopwatch emulator written by me in c#)
.
      While I was going through different options in my mobile for setting alarm so that I can get reminded when to start water motor, I reached on option called 'Stopwatch'. In Stopwatch there were two more options 'Split timing' and 'Lap timing'. Both options were looking attractive and interesting. So I said to myself why not make something like it on my PC in c#.
      Therefore I made it and as you can see in following images it's UI(User Interface) is simple and easy to understand. There is a label on top containing a line of text describing application. A tab control with two tab pages namely 'Split timing' and 'Lap timing. On each tab page there is a  textbox on top for showing current value of Stopwatch. One richtextbox for showing time slices when made. four buttons on each tab page for performing different actions. One status control with one textbox for showing applications current activity and one progressbar which animates when Stopwatch runs. I used 'lucida console' font for label, textbox and richtextbox because monospace font is good for aligning  characters in a field of column with above/below rows of same column.
.

      Following are the screen shots of Stopwatch application with explanation when 'Split timing' tab page is selected.
.
.In this image application is loaded and title on top is clicked because of which 'Help' information is displaying.
. .
.In this image application is loaded and 'Split timing' tab page is selected by default or by clicking on it but stopwatch is not started yet..
. .
.In this image application is loaded and 'Split timing' tab page is selected by default or by clicking on it and stopwatch is started by clicking 'Start' button whose text is now changed to 'Restart'..
. .
.In this image application is loaded and 'Split timing' tab page is selected by default or by clicking on it and  stopwatch is started by clicking on 'Start' button and some time slices are made by clicking 'Split' button.
. .
.In this image application is loaded and 'Split timing' tab page is selected by default or by clicking on it and stopwatch is started by clicking on 'Start' button and then paused by clicking 'Pause' button.
. .
      And on clicking on 'Reset' button application goes to initial stage on selected tab page. To click on 'Reset' button while application is running first click on 'Pause' button.
.

.
      Following are the screen shots of Stopwatch application with explanation when 'Lap timing' tab page is selected.
. .
.In this image application is loaded and 'Lap timing' tab page is selected by clicking on it  but stopwatch is not started yet..
. .
.In this image application is loaded and 'Lap timing' tab page is selected by clicking on it  and stopwatch is started by clicking 'Start' button whose text is now changed to 'Restart'.
. .
.In this image application is loaded and 'Lap timing' tab page is selected by clicking on it and stopwatch is started by clicking on 'Start' button and some time slices are made by clicking 'Lap' button.
. .
In this image application is loaded and 'Lap timing' tab page is selected by default or by clicking on it and stopwatch is started by clicking on 'Start' button and then paused by clicking 'Pause' button.
. .
      And on clicking on 'Reset' button application goes to initial stage on selected tab page. To click on 'Reset' button while application is running first click on 'Pause' button.
.

      I will soon upload this Stopwatch application's entire project to some site and put project's download link from there here. And may be before that I will post important parts of Stopwatch application's  source code here.

      Until then enjoy DEMO of application written and compiled in visual studio 2010 Ultimate by me.

[2017Feb14Tue]      Today I updated and corrected this post because all links on photos were wrong.
[2017Feb20Mon]      Today I updated this post and added an image  and it's description showing 'Help' feature of application.
.

.
[Update 2017 May 25 Tue]
      Enjoy Complete Source code of application written and compiled in visual studio 2010 Ultimate by me. Download it. Extract it. Read 'ReadMeFirst.txt' file and do as is explained in it.
.


No comments:

Post a Comment