private void button2_Click(object sender, RoutedEventArgs e) { PartyEditWindow partyEdit = new PartyEditWindow(theShop.supplies[listBox1.SelectedIndex]); partyEdit.ShowDialog(); RefreshData(); }
private void button1_Click(object sender, RoutedEventArgs e) { Circle party = new Circle(); PartyEditWindow partyEdit = new PartyEditWindow(party); partyEdit.ShowDialog(); RefreshData(); }
private void button1_Click(object sender, RoutedEventArgs e) { PartyToys party = new PartyToys(); PartyEditWindow partyEdit = new PartyEditWindow(party); partyEdit.ShowDialog(); theShop.AddAPartyofToys(party); RefreshData(); }