示例#1
0
 private void RemoveItem()
 {
     ((StackPanel)Parent).Children.Remove(this);
     stashGridHighlight.RemoveStashControl(tItem);
     TradeItemControl.RemoveTICfromList(this);
     TradeItem.RemoveItemFromList(tItem);
     stashGridHighlight.ClearCanvas();
 }
 private void ClickRemoveItem(object sender, RoutedEventArgs e)
 {
     ((StackPanel)Parent).Children.Remove(this);
     stashGridHighlight.RemoveStashControl(tItem);
     stashGridHighlight.ClearCanvas();
 }