private void smilingBoiled_Click(object sender, RoutedEventArgs e) { var egg = new Egg(600, "Et smilende æg er så utroligt lækkert!"); }
private void softBoiled_Click(object sender, RoutedEventArgs e) { //Create Egg & add it to memory var egg = new Egg(400, "pretty LOL"); (App.Current as App).EggOne = egg; }
private void hardboiled_Click(object sender, RoutedEventArgs e) { var egg = new Egg(800, "Et hårdkogt æg kan med fordel puttes i varmt vand."); }