private void button3_Click(object sender, EventArgs e)///Send chat button from space station and save sent data in the chat box { string chstr = chatBox.Text; _spManager.Sendc(chstr); string f; chatLog.Font = new Font(chatLog.Font, FontStyle.Bold); f = DateTime.Now.ToString("h:mm:ss tt"); chatLog.AppendText("\n"); chatLog.AppendText(f + " Space station--> "); chatLog.AppendText(chstr); // chatLog.AppendText(Environment.NewLine); chatLog.ScrollToCaret(); chatBox.Clear(); }
private void button3_Click(object sender, EventArgs e) { _spManager.Sendc(); //RIGHT }