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"); }
private void Slot_RefreshTimeAndPetrol(object sender, RefreshTimeOnScreen e) { toolStripStatusLabel1.Text = TimeSpan.FromSeconds(e.m_time).ToString("g"); toolStripStatusLabel6.Text = e.m_petrol.ToString(); }