Exemplo n.º 1
0
        public CPhonebookPage() : base((int)EPages.P_PHONEBOOK, "Phonebook")
        {
            _criteria           = new CEditField(">", "", EEditMode.alphanum_low, true);
            _criteria.PosY      = 1;
            _criteria.Digitkey += new BoolIntDelegate(_criteria_Digitkey);
            add(_criteria);

            _list      = new CSelectList(7);
            _list.PosY = 3;
            add(_list);

            CLink addNewLink = new CLink("Add New", (int)EPages.P_PHONEBOOKEDIT);

            addNewLink.PosY = 9;
            //addNewLink.Align = EAlignment.justify_right;
            add(addNewLink);

            CLink modifyLink = new CLink("Modify");

            modifyLink.PosY     = 10;
            modifyLink.Softkey += new BoolIntDelegate(modifyLink_Softkey);
            modifyLink.Align    = EAlignment.justify_right;
            add(modifyLink);

            CLink messageLink = new CLink("Message");

            messageLink.Align    = EAlignment.justify_right;
            messageLink.PosY     = 8;
            messageLink.Softkey += new BoolIntDelegate(messageLink_Softkey);
            add(messageLink);

            Menu += new VoidDelegate(CPhonebookPage_Menu);
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
0
        public CCalllogPage()
            : base((int)EPages.P_CALLLOG, "Call Register")
        {
            _list      = new CSelectList(8, 2);
            _list.PosY = 1;
            add(_list);

            CLink clearLink = new CLink("Clear All");

            clearLink.PosY     = 10;
            clearLink.LinkKey  = clearLink.PosY;
            clearLink.Align    = EAlignment.justify_right;
            clearLink.Softkey += new BoolIntDelegate(clearLink_Softkey);
            add(clearLink);

            Menu += new VoidDelegate(CCalllogPage_Menu);
        }
Exemplo n.º 4
0
        public C3PtyListPage()
            : base(ECallPages.P_3PTYLIST, "Conference with...")
        {
            this.clearHistory(false);

              // remove end call link from CTelephony
              this.remove(_endCall);
              this.remove(_sessions);
              this.remove(_name);
              this.remove(_digits);

              _3pty2List = new CSelectList(5);
              _3pty2List.PosY = 1;
              this.add(_3pty2List);

              // handlers
              Ok += new VoidDelegate(C3PtyListPage_Ok);
        }
Exemplo n.º 5
0
        public C3PtyListPage()
            : base(ECallPages.P_3PTYLIST, "Conference with...")
        {
            this.clearHistory(false);

            // remove end call link from CTelephony
            this.remove(_endCall);
            this.remove(_sessions);
            this.remove(_name);
            this.remove(_digits);

            _3pty2List      = new CSelectList(5);
            _3pty2List.PosY = 1;
            this.add(_3pty2List);

            // handlers
            Ok += new VoidDelegate(C3PtyListPage_Ok);
        }
Exemplo n.º 6
0
        public CSIPSettings()
            : base((int)EPages.P_SIPSETTINGS, "SIP Settings")
        {
            _list      = new CSelectList(3);
            _list.PosY = 2;
            add(_list);

            _editport         = new CEditField("Local Port>", "", EEditMode.numeric);
            _editport.PosY    = 7;
            _editport.LinkKey = _editport.PosY;
            add(_editport);

            _accountsLink         = new CLink("Accounts", (int)EPages.P_ACCOUNTS);
            _accountsLink.Align   = EAlignment.justify_right;
            _accountsLink.PosY    = 8;
            _accountsLink.LinkKey = _accountsLink.PosY;
            add(_accountsLink);

            // ok handler
            this.Ok += new VoidDelegate(CSIPSettings_Ok);
        }
Exemplo n.º 7
0
        public CXferListPage()
            : base(ECallPages.P_XFERLIST, "Transfer to...")
        {
            this.clearHistory(false);

            // remove end call link from CTelephony
            this.remove(_endCall);
            this.remove(_sessions);
            this.remove(_name);
            this.remove(_digits);

            _xfer2List      = new CSelectList(5);
            _xfer2List.PosY = 1;
            this.add(_xfer2List);

            CLink blind = new CLink("Enter number", (int)ECallPages.P_XFERDIAL);

            blind.Align = EAlignment.justify_right;
            blind.PosY  = 10;
            this.add(blind);

            // handlers
            Ok += new VoidDelegate(CXferListPage_Ok);
        }
Exemplo n.º 8
0
        public CXferListPage()
            : base(ECallPages.P_XFERLIST, "Transfer to...")
        {
            this.clearHistory(false);

              // remove end call link from CTelephony
              this.remove(_endCall);
              this.remove(_sessions);
              this.remove(_name);
              this.remove(_digits);

              _xfer2List = new CSelectList(5);
              _xfer2List.PosY = 1;
              this.add(_xfer2List);

              CLink blind = new CLink("Enter number", (int)ECallPages.P_XFERDIAL);
              blind.Align = EAlignment.justify_right;
              blind.PosY = 10;
              this.add(blind);

              // handlers
              Ok += new VoidDelegate(CXferListPage_Ok);
        }
Exemplo n.º 9
0
        public CPhonebookPage()
            : base((int)EPages.P_PHONEBOOK,"Phonebook")
        {
            _criteria = new CEditField(">", "", EEditMode.alphanum_low, true);
              _criteria.PosY = 1;
              _criteria.Digitkey += new BoolIntDelegate(_criteria_Digitkey);
              add(_criteria);

              _list = new CSelectList(7);
              _list.PosY = 3;
              add(_list);

              CLink addNewLink = new CLink("Add New", (int)EPages.P_PHONEBOOKEDIT);
              addNewLink.PosY = 9;
              //addNewLink.Align = EAlignment.justify_right;
              add(addNewLink);

              CLink modifyLink = new CLink("Modify");
              modifyLink.PosY = 10;
              modifyLink.Softkey += new BoolIntDelegate(modifyLink_Softkey);
              modifyLink.Align = EAlignment.justify_right;
              add(modifyLink);

              CLink messageLink = new CLink("Message");
              messageLink.Align = EAlignment.justify_right;
              messageLink.PosY = 8;
              messageLink.Softkey += new BoolIntDelegate(messageLink_Softkey);
              add(messageLink);

              Menu += new VoidDelegate(CPhonebookPage_Menu);
        }
Exemplo n.º 10
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);
        }
Exemplo n.º 11
0
        public CCalllogPage()
            : base((int)EPages.P_CALLLOG, "Call Register")
        {
            _list = new CSelectList(8,2);
              _list.PosY = 1;
              add(_list);

              CLink clearLink = new CLink("Clear All");
              clearLink.PosY = 10;
              clearLink.LinkKey = clearLink.PosY;
              clearLink.Align = EAlignment.justify_right;
              clearLink.Softkey += new BoolIntDelegate(clearLink_Softkey);
              add(clearLink);

              Menu += new VoidDelegate(CCalllogPage_Menu);
        }
Exemplo n.º 12
0
        public CSIPSettings()
            : base((int)EPages.P_SIPSETTINGS, "SIP Settings")
        {
            _list = new CSelectList(3);
              _list.PosY = 2;
              add(_list);

              _editport = new CEditField("Local Port>", "", EEditMode.numeric);
              _editport.PosY = 7;
              _editport.LinkKey = _editport.PosY;
              add(_editport);

              _accountsLink = new CLink("Accounts", (int)EPages.P_ACCOUNTS);
              _accountsLink.Align = EAlignment.justify_right;
              _accountsLink.PosY = 8;
              _accountsLink.LinkKey = _accountsLink.PosY;
              add(_accountsLink);

              // ok handler
              this.Ok += new VoidDelegate(CSIPSettings_Ok);
        }