Example #1
0
 /// Create new ChatSession service
 public void NewChatSession()
 {
     // NameBox.Clear();
     // LoginBox.Clear();
     // PasswordBox.Clear();
     InfoLabel.Text = "";
     CurrentSession = new ChatSession(this);
 }
Example #2
0
        public ChatSessionForm(ChatClientForm owner)
        {
            InitializeComponent();

            Owner          = owner;
            CurrentSession = owner.CurrentSession;
            //CurrentSession.sessionForm = this;

            MessageBox.ForeColor = Color.DarkGray;
            MessageBox.Text      = "Type something here...";
            MessageBox.Update();
        }