Пример #1
0
        private void button1_Click(object sender, EventArgs e) // han 2011.2.7
        {
            // invoke inventory window
            formInventory = new FormInventory();

            formInventory.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 button1_Click(object sender, EventArgs e)
        {
            // invoke inventory window
            formInventory = new FormInventory();

            formInventory.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;
            }
        }