예제 #1
0
 void cancel()
 {
     GiveItemList1.Clear();
     GiveItemList2.Clear();
     givenCoins1.Value = 0;
     givenCoins2.Value = 0;
     Update();
 }
예제 #2
0
 private void giveAllButton2_Click(object sender, RoutedEventArgs e)
 {
     GiveItemList2.Clear();
     if (Selected2 != null)
     {
         GiveItemList2.AddRange(Selected2.Inventory); givenCoins2.Value = Selected2.Coins;
     }
     Update();
 }