示例#1
0
        private void button2_Click(object sender, EventArgs e) // han 2011.2.7
        {
            // invoke access window
            formAccess = new FormAccess();

            formAccess.ShowDialog();

            if (R900APP.UHFAPI_IsOpen())
            {
                R900_alive = true;

                label3.Text      = "On Line";
                label3.ForeColor = Color.Green;
            }
            else
            {
                R900_alive = false;

                label3.Text      = "Off Line";
                label3.ForeColor = Color.Red;
            }
        }
示例#2
0
        // han 2011.2.7
        private void button2_Click(object sender, EventArgs e)
        {
            // invoke access window
            formAccess = new FormAccess();

            formAccess.ShowDialog();

            if (R900APP.UHFAPI_IsOpen())
            {
                R900_alive = true;

                label3.Text = "On Line";
                label3.ForeColor = Color.Green;
            }
            else
            {
                R900_alive = false;

                label3.Text = "Off Line";
                label3.ForeColor = Color.Red;
            }
        }