Exemplo n.º 1
0
 private void On_RefreshTimeAndPetrol(object sender, RefreshTimeOnScreen e)
 {
     GameTime = TimeSpan.FromSeconds(e.m_time).ToString("mm':'ss");
     //PetrolQuantity = e.m_petrol;
     OnPropertyChanged("GameTime");
     OnPropertyChanged("PetrolQuantity");
 }
Exemplo n.º 2
0
 private void Slot_RefreshTimeAndPetrol(object sender, RefreshTimeOnScreen e)
 {
     toolStripStatusLabel1.Text = TimeSpan.FromSeconds(e.m_time).ToString("g");
     toolStripStatusLabel6.Text = e.m_petrol.ToString();
 }