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

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

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

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

            nurul.addFruit(anggur);
        }