[MonoTouch] how can i add an action when dv disappears?

Andreas Ploetzeneder info at ploetzeneder-it.com
Wed Oct 19 10:05:31 EDT 2011


public class LoginView

{

 public DialogViewController dv;

 public LoginView ()

 {

   var root = CreateRoot ();

  dv = new DialogViewController (root, true);

   }

 RootElement CreateRoot ()

 { return new RootElement ("Settings") {

  new Section (){

  new BooleanElement ("Airplane Mode", false),

  new RootElement ("Notifications", 0, 0) {

   new Section (null, "Turn off Notifications to disable Sounds\n" +

        "Alerts and Home Screen Badges for the\napplications below."){

   new BooleanElement ("Notifications", false)

   }

  }}} ;

 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111019/d2ae352f/attachment.html 


More information about the MonoTouch mailing list