Example #1
0
        private void Button2_Click(object sender, EventArgs e)
        {
            if (PipeClient.PipeClientSend(textBox1.Text))
            {
                textBox2.AppendText(string.Format("<< Successfully sent message: {0}", textBox1.Text) + PipeUtils.sLineBreak);
            }
            else
            {
                textBox2.AppendText(string.Format("<< Failed to send message: {0}", textBox1.Text) + PipeUtils.sLineBreak);
            }

            textBox1.Text = string.Empty;
        }