Merge for 1.2.4 #8
@ -24,19 +24,16 @@ namespace OWTrack
|
||||
|
||||
private void checkStatus()
|
||||
{
|
||||
Time.Text = DateTime.Now.ToString("h:mm tt");
|
||||
status.Text = NOT_RUNNING;
|
||||
status.ForeColor = Color.Red;
|
||||
try
|
||||
{
|
||||
Time.Text = DateTime.Now.ToString("h:mm tt");
|
||||
if (tr.owRunning())
|
||||
{
|
||||
status.Text = IS_RUNNING;
|
||||
status.ForeColor = Color.FromArgb(128, 255, 128);
|
||||
}
|
||||
else
|
||||
{
|
||||
status.Text = NOT_RUNNING;
|
||||
status.ForeColor = Color.Red;
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user