コード例 #1
0
        public void FillData()
        {
            ObservableCollection <LoadVM> loads = new ObservableCollection <LoadVM>();

            for (int i = 0; i < 10; i++)
            {
                loads.Add(new LoadVM("a" + i, i, i));
            }


            for (int i = 0; i < 10; i++)
            {
                WaitingTrucks.Add(new TruckVM("Stadt", i, loads));
            }
        }
コード例 #2
0
 private void ClearButtonClicked()
 {
     WaitingTrucks.Clear();
     ReadyTrucks.Clear();
 }
コード例 #3
0
 private void SendButtonClicked()
 {
     ReadyTrucks.Add(SelectedWaitingTruck);
     WaitingTrucks.Remove(SelectedWaitingTruck);
 }