# Question about simple action

**URL:** <https://forum.kirupa.com/t/question-about-simple-action/318466>\
**Category:** programming\
**Created:** [January 20, 2011, 11:14pm UTC](https://forum.kirupa.com/t/question-about-simple-action/318466 "2011-01-20T23:14:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WP7T3](https://avatars.discourse-cdn.com/v4/letter/w/8dc957/32.png) [@WP7T3](https://forum.kirupa.com/u/WP7T3)\
**Post date:** [January 20, 2011, 11:14pm UTC](https://forum.kirupa.com/t/question-about-simple-action/318466/1 "2011-01-20T23:14:20Z")

</div>

I’ve started reading tutorials since I’m trying to build a little prototype for a WP7 application for school and noticed the simple action tutorial. It was easy to follow since I could copy the coding.

[link](http://www.kirupa.com/windowsphone/creating_simple_action_pg1.htm)

Now the problem is I actually don’t understand the coding and was wondering how to add a ‘title’ and extra button (so you can have an ‘Ok’ and a ‘Cancel’ button).

Example:  
 ![](http://wedealindreams.net/preview/WP7/example.jpg)

I’ve tried a lot of different things and trying to break down the code step by step but I’ve never really worked with this type of coding before. Does anyone maybe know some extra lines of code that would make that action allow me to add a title and another button to it?
