コード例 #1
0
 //clears the entire group for all units
 //then resets to main menu
 private void ClearGroup(object sender, EventArgs e)
 {
     DALIController.ClearGroup(_currentGroup);
     SetUpFirstButtons();
 }
コード例 #2
0
 public void ClearGroupTest()
 {
     Controller.AddUnitToGroup(Controller.AllLights[0], 0);
     Controller.ClearGroup(0);
     Assert.IsEmpty(Controller._groups[0].GroupOfLights);
 }