示例#1
0
        private void Button4_Click(object sender, RoutedEventArgs e)
        {
            Fruit jeruk = new Fruit("Jeruk");

            nurul.addFruit(jeruk);
        }
示例#2
0
        private void Button2_Click(object sender, RoutedEventArgs e)
        {
            Fruit apel = new Fruit("Apel");

            nurul.addFruit(apel);
        }
示例#3
0
        private void Button3_Click(object sender, RoutedEventArgs e)
        {
            Fruit pisang = new Fruit("Pisang");

            nurul.addFruit(pisang);
        }
示例#4
0
        private void Button1_Click(object sender, RoutedEventArgs e)
        {
            Fruit anggur = new Fruit("Anggur");

            nurul.addFruit(anggur);
        }