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

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


i could subclass this,... how can i do it,..can somebody help me....
i would like to have the data of root also in the subclass....directly,...

so mylogincontroller:dialogviewcontroller{
}

2011/10/19 Andreas Ploetzeneder <info at ploetzeneder-it.com>

>  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)
>
>    }
>
>   }}} ;
>
>  }
>



-- 





Mit freundlichem Gruß,*

Andreas Plötzeneder*
CEO
*ihr ploetzeneder it-solutions Team
**Mobile Development*<http://www.ploetzeneder-it.com/softwareentwicklung/mobile-development.html>
* – **Desktopanwendungen*<http://www.ploetzeneder-it.com/softwareentwicklung/desktop-anwendungen.html>
* – **Webanwendungen*<http://www.ploetzeneder-it.com/softwareentwicklung/web-anwendungen.html>
*
Tel:*  +43 720 30 30 24 10
*Fax:* +43 720 30 30 24 20
*Email:* info at ploetzeneder-it.com
*web:   *http://www.ploetzeneder-it.com

 Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in Teilen,
die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111019/8ba20673/attachment.html 


More information about the MonoTouch mailing list