Beispiel #1
0
        public CAccountsPage()
            : base((int)EPages.P_ACCOUNTS, "Accounts")
        {
            _radio = new CRadioButtonGroup();

            _list      = new CSelectList(_radio, 5);
            _list.PosY = 3;
            add(_list);

            CLink linkConfigure = new CLink("Edit");

            linkConfigure.Align    = EAlignment.justify_right;
            linkConfigure.PosY     = 10;
            linkConfigure.Softkey += new BoolIntDelegate(linkConfigure_Softkey);
            add(linkConfigure);

            CLink linkSave = new CLink("Save changes");

            linkSave.PosY     = 9;
            linkSave.Softkey += new BoolIntDelegate(linkSave_Softkey);
            add(linkSave);

            this.Menu += new VoidDelegate(_radio_Menu);
            this.Ok   += new VoidDelegate(CAccountsPage_Ok);
            this.Esc  += new VoidDelegate(CAccountsPage_Esc);
        }
Beispiel #2
0
        public CRingModePage()
            : base((int)EPages.P_RINGMODE, "Ringer Mode")
        {
            _radio = new CRadioButtonGroup();

            _silentCb          = new CCheckBox("Silent");
            _silentCb.PosY     = 5;
            _silentCb.LinkKey  = _silentCb.PosY;
            _silentCb.Softkey += new BoolIntDelegate(_silentCb_Softkey);
            _radio.add(_silentCb);

            _melodyCb          = new CCheckBox("Melody");
            _melodyCb.PosY     = 7;
            _melodyCb.LinkKey  = _melodyCb.PosY;
            _melodyCb.Softkey += new BoolIntDelegate(_melodyCb_Softkey);
            _radio.add(_melodyCb);

            _beepCb          = new CCheckBox("Beep");
            _beepCb.PosY     = 9;
            _beepCb.LinkKey  = _beepCb.PosY;
            _beepCb.Softkey += new BoolIntDelegate(_beepCb_Softkey);
            _radio.add(_beepCb);

            add(_radio);
        }
Beispiel #3
0
        public CAccountsPage()
            : base((int)EPages.P_ACCOUNTS, "Accounts")
        {
            _radio = new CRadioButtonGroup();

              _list = new CSelectList(_radio, 5);
              _list.PosY = 3;
              add(_list);

              CLink linkConfigure = new CLink("Edit");
              linkConfigure.Align = EAlignment.justify_right;
              linkConfigure.PosY = 10;
              linkConfigure.Softkey += new BoolIntDelegate(linkConfigure_Softkey);
              add(linkConfigure);

              CLink linkSave = new CLink("Save changes");
              linkSave.PosY = 9;
              linkSave.Softkey += new BoolIntDelegate(linkSave_Softkey);
              add(linkSave);

              this.Menu += new VoidDelegate(_radio_Menu);
              this.Ok += new VoidDelegate(CAccountsPage_Ok);
              this.Esc += new VoidDelegate(CAccountsPage_Esc);
        }
Beispiel #4
0
        public CRingModePage()
            : base((int)EPages.P_RINGMODE,"Ringer Mode")
        {
            _radio = new CRadioButtonGroup();

              _silentCb = new CCheckBox("Silent");
              _silentCb.PosY = 5;
              _silentCb.LinkKey = _silentCb.PosY;
              _silentCb.Softkey += new BoolIntDelegate(_silentCb_Softkey);
              _radio.add(_silentCb);

              _melodyCb = new CCheckBox("Melody");
              _melodyCb.PosY = 7;
              _melodyCb.LinkKey = _melodyCb.PosY;
              _melodyCb.Softkey += new BoolIntDelegate(_melodyCb_Softkey);
              _radio.add(_melodyCb);

              _beepCb = new CCheckBox("Beep");
              _beepCb.PosY = 9;
              _beepCb.LinkKey = _beepCb.PosY;
              _beepCb.Softkey += new BoolIntDelegate(_beepCb_Softkey);
              _radio.add(_beepCb);

              add(_radio);
        }