Exemplo n.º 1
0
 /// Create new ChatSession service
 public void NewChatSession()
 {
     // NameBox.Clear();
     // LoginBox.Clear();
     // PasswordBox.Clear();
     InfoLabel.Text = "";
     CurrentSession = new ChatSession(this);
 }
Exemplo n.º 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();
        }