Пример #1
0
        private void Hioki3540_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
        {
            string str = Hioki3540.ReadLine();

            if (Resistance.InvokeRequired)
            {
                Resistance.BeginInvoke(new Action(() =>
                {
                    Resistance.Text = str;
                }));
            }
        }
Пример #2
0
 private void BTN_AutoOff_Click(object sender, EventArgs e)
 {
     Hioki3540.Write(hioki.AutoOff());
 }