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); }
public CMessageReceivedPage() : base((int)EPages.P_MESSAGERECEIVEDBOX, "Message Received") { _titleText = new CText(""); _titleText.PosY = 1; add(_titleText); _textBox = new CTextBox(""); _textBox.PosY = 3; add(_textBox); _replyLink = new CLink("Reply"); _replyLink.PosY = 9; _replyLink.Softkey += new BoolIntDelegate(_replyLink_Softkey); add(_replyLink); }