private void testWrite_Click(object sender, RoutedEventArgs e) { if (ourPort == null) { MessageBox.Show("Port is not open!"); } else { ourPort.SendData(testTextBox.Text); } }
private void testWrite_Click(object sender, RoutedEventArgs e) { if (ourPort == null) { MessageBox.Show("Port is not open!"); } else { ourPort.SendData(testTextBox.Text); } }