Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     m_client = new K64LanToIo(comboBox1.SelectedIndex);
     if (m_client.Connect(out string outMessage) == false)
     {
         button1.ForeColor = Color.Red;
         MessageBox.Show("Failed to connect board id: " + comboBox1.Text);
     }
Beispiel #2
0
 public void LoadControl(K64LanToIo client)
 {
     m_client = client;
 }
Beispiel #3
0
 public void LoadControl(K64LanToIo client, IOs io, string text)
 {
     m_client    = client;
     m_io        = io;
     label1.Text = text;
 }