using System;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.ComponentModel;

namespace ServerControl1
{
    public class Message : Panel, INamingContainer
    {
        private string _name;
        private string _text;

        public Message(string name, string text)
        {
            _text = text;
            _name = name;
        }

        public string Name
        {
            get { return _name; }
        }

        public string Text
        {
            get { return _text; }
        }
    }
}
