예제 #1
0
파일: menus.cs 프로젝트: erdincay/sipek-1
        public CMessageBoxPage()
            : base((int)EPages.P_MESSAGEBOX, "Send Message To...")
        {
            _titleText      = new CText("Buddy");
            _titleText.PosY = 1;
            add(_titleText);

            _textBox      = new CTextBox("");
            _textBox.PosY = 2;
            add(_textBox);

            _editBox      = new CEditBox(">", "");
            _editBox.PosY = 5;
            add(_editBox);

            CLink sendLink = new CLink("Send");

            sendLink.PosY     = 10;
            sendLink.Align    = EAlignment.justify_right;
            sendLink.Softkey += new BoolIntDelegate(sendLink_Softkey);
            this.add(sendLink);

            _buddyName      = new CLink("");
            _buddyName.PosY = 3;
            add(_buddyName);

            this.Ok += new VoidDelegate(CMessageBoxPage_Ok);
        }
예제 #2
0
파일: menus.cs 프로젝트: AngieToro/sipek
        public CMessageBoxPage()
            : base((int)EPages.P_MESSAGEBOX, "Send Message To...")
        {
            _titleText = new CText("Buddy");
              _titleText.PosY = 1;
              add(_titleText);

              _textBox = new CTextBox("");
              _textBox.PosY = 2;
              add(_textBox);

              _editBox = new CEditBox(">", "");
              _editBox.PosY = 5;
              add(_editBox);

              CLink sendLink = new CLink("Send");
              sendLink.PosY = 10;
              sendLink.Align = EAlignment.justify_right;
              sendLink.Softkey += new BoolIntDelegate(sendLink_Softkey);
              this.add(sendLink);

              _buddyName = new CLink("");
              _buddyName.PosY = 3;
              add(_buddyName);

              this.Ok += new VoidDelegate(CMessageBoxPage_Ok);
        }