void RaiseContainerClicked(LagerObject box) { var handler = this.ActivateDetail; Console.WriteLine("container:"+box.ToString()); if (handler != null && box != null) { handler(this, new ContainerClickedEventArgs(box)); } }
void RaiseLagerObjectClicked(LagerObject item) { var handler = this.ActivateDetail; Console.WriteLine("item:"+item.ToString()); if (handler != null && item != null) { handler(this, new BigItemDetailClickedEventArgs(item)); } }