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

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

            partyEdit.ShowDialog();

            RefreshData();
        }
예제 #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();
        }