Example #1
0
        private void button13_Click(object sender, EventArgs e)
        {
            bool isCon = AgentDll.check_dev_con();

            if (isCon)
            {
                MessageBox.Show("设备已经连接");
            }
            else
            {
                MessageBox.Show("设备没有连接");
            }
        }