Example #1
0
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            PartyEditWindow partyEdit = new PartyEditWindow(theShop.supplies[listBox1.SelectedIndex]);

            partyEdit.ShowDialog();
            RefreshData();
        }
Example #2
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            Circle          party     = new Circle();
            PartyEditWindow partyEdit = new PartyEditWindow(party);

            partyEdit.ShowDialog();

            RefreshData();
        }
Example #3
0
        private void button1_Click(object sender, RoutedEventArgs e)
        {
            PartyToys       party     = new PartyToys();
            PartyEditWindow partyEdit = new PartyEditWindow(party);

            partyEdit.ShowDialog();
            theShop.AddAPartyofToys(party);

            RefreshData();
        }