public void Layout_HH02_Set_StaticActive(string wst_id)
        {
            Layout_HH02_Controller ctrl = new Layout_HH02_Controller(this);
            wst_id = wst_id.Replace('-', '_');

            try
            {
                ctrl.SetActive(wst_id);
                // ctrl.SetStaticActive(wst_id);
                // ctrl._tmr.Stop();
            }
            catch
            {
                // ctrl.SetInactiveLine();
            }
        }
        private void Layout_HH02_Load(object sender, EventArgs e)
        {
            //Sample of using Layout_HH02_Controller
            Layout_HH02_Controller ctrl = new Layout_HH02_Controller(this);

            //Add the list of button(wst).
            //Note: The name of button have to be the same with the name of wst in that line
            ctrl.Add(HH02_14);
            ctrl.Add(HH02_13);
            ctrl.Add(HH02_12);
            ctrl.Add(HH02_11);

            ctrl.Add(HH02_10);
            ctrl.Add(HH02_09);
            ctrl.Add(HH02_08);
            ctrl.Add(HH02_07);
            ctrl.Add(HH02_06);
            ctrl.Add(HH02_05);
            ctrl.Add(HH02_04);
            ctrl.Add(HH02_03);
            ctrl.Add(HH02_02);
            ctrl.Add(HH02_01);

            ctrl.Add(SH02_01);
            ctrl.Add(SH02_02);
            ctrl.Add(SH02_03);

            //Dho: Extra setting to customize if needed
            // ctrl.SetInActiveColor(Color.LightGreen);
            ctrl.SetInActiveColor(Color.Red);
            ctrl.SetReadyColor(Color.LightGreen);
            ctrl.SetActiveColor(Color.LightYellow);
            ctrl.SetAltColorForBlink(Color.Yellow);
            ctrl.SetBlinkingSpeed(600);

            //Dho: Need to call this line below to refresh after init
            ctrl.SetInactiveLine();

            foreach (Control control in this.Controls)
            {
                if ((control is Button) &&( control != Confirm_BT))
                {
                    control.Click += new EventHandler(control_Click);
                    this.AcceptButton = (Button)control;
                    ((Button)control).DialogResult = DialogResult.OK;
                }
            }

            //When employee scan their name card, the system know
            //- which work station name is suitable for this employee
            //- Highlight the position of workstation in the line for employee to recognize where to go
            try
            {
                ctrl.SetActive(Active_Node);
            }
            catch
            {
                ctrl.SetInactiveLine();
            }

            string []ready_nodes = Ready_Notes.Split(';');
            string node;
            if (ready_nodes.Count() > 0)
            {
                foreach(string ready_node in ready_nodes)
                {
                    node = ready_node.Replace('_', '-');
                    ctrl.SetReady_WST(ready_node);
                }
            }
        }