예제 #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");
 }
예제 #2
0
파일: GameForm.cs 프로젝트: JnKhB/.Net
 private void Slot_RefreshTimeAndPetrol(object sender, RefreshTimeOnScreen e)
 {
     toolStripStatusLabel1.Text = TimeSpan.FromSeconds(e.m_time).ToString("g");
     toolStripStatusLabel6.Text = e.m_petrol.ToString();
 }