locked
Windows Store app - Events RRS feed

  • Question

  • I am new to calling creating events and calling them so i need help with this. 

    I have two Pages in my app :   

    Apple
    
    Orange

    I want to create an even in Apple  called "applePicked".

    I then want to fire that even off using a method:

    private void broadCastPickedApple()
    {
    //fire off event
    
    }

    When that even is fired off ,  i want my Orange class to listen for the event and when its been fire off i want to run a method in my Orange class called

    private void RecievedAppleBroadcast()
    {
    
    
    }

    How could i accomplish this?

    Please and thank you!

    Saturday, September 14, 2013 3:52 AM

Answers