public MainPage() { this.InitializeComponent(); var layers = Component.Hen.Layers; Component.Hen oHen = new Component.Hen(); oHen.Clucked += OHen_Clucked; oHen.GenericClucked += OHen_GenericClucked; var brood = oHen.Brood; foreach (var b in brood) { System.Diagnostics.Debug.WriteLine(b); } //oHen.GenericClucked += new TypedEventHandler<Hen, int>(); // new Constructor Component.Hen oHen2 = new Component.Hen(12); }
private void OHen_Clucked(Component.Hen sender, int args) { // throw new NotImplementedException(); }