private void Quack_Button_Click(object sender, RoutedEventArgs e) { img.Source = new BitmapImage(new Uri("C:\\Users\\User1\\Source\\Repos\\htc-cs-102\\Week05\\InheritanceIntro\\InheritanceIntro\\duck.jpg")); Duck duck = new Duck(); duck.Quack(); }
private void quackButton_Click(object sender, RoutedEventArgs e) { // Make a duck // make it quack Duck duck = new Duck("Bobert", 50); duck.Quack(); }
private void quackButton_Click(object sender, RoutedEventArgs e) { //make duck //make it quack Duck duck = new Duck(12, "Fredrick"); duck.Quack(); }
private void button_Click(object sender, RoutedEventArgs e) { // Make a Duck // Make it Quack Duck duck = new Duck(12, "Aiden Rutledge"); duck.Quack(); }
private void quackButton_Click(object sender, RoutedEventArgs e) { // Make A Duck // make it quack Duck duck = new Duck(12, "Admiral Quackbar"); duck.Quack(); }
private void quackButton_Click(object sender, RoutedEventArgs e) { Duck duck = new Duck(12, "Mistake"); duck.Quack(); }
private void Quack_Button_Click(object sender, RoutedEventArgs e) { Duck duck = new Duck(); duck.Quack(); }
private void quackButton_Click(object sender, RoutedEventArgs e) { Duck duck = new Duck(12, "Duck of the Silver Turoc"); duck.Quack(); }