/// Create new ChatSession service public void NewChatSession() { // NameBox.Clear(); // LoginBox.Clear(); // PasswordBox.Clear(); InfoLabel.Text = ""; CurrentSession = new ChatSession(this); }
public ChatSessionForm(ChatClientForm owner) { InitializeComponent(); Owner = owner; CurrentSession = owner.CurrentSession; //CurrentSession.sessionForm = this; MessageBox.ForeColor = Color.DarkGray; MessageBox.Text = "Type something here..."; MessageBox.Update(); }