private void WLine_EndedCoating(object sender, EndCoatingEventArgs e)
        {
            Manager manager = Manager.Singleton;

            manager.EndedCoarting(No, e.BWCnt, e.AWCnt);
            if (EndedCoating != null)
            {
                EndedCoating(this, e);
            }
        }
        private void Wlf_EndedCoating(object sender, EndCoatingEventArgs e)
        {
            ChangeStatusWaferLine(e.No);
            ListViewItem lvi = lv_line.Items[e.No - 1];

            if (lvi.Selected)
            {
                WaferLine wl = lvi.Tag as WaferLine;
                cb_awafer.Items.Add(wl.LastWafer);
                lb_pr.Text = wl.PCnt.ToString();
            }
        }
 private void Cs_EndedCoating(object sender, EndCoatingEventArgs e)
 {
     if (this.InvokeRequired)
     {
         EndCoatingEvntHandler dele = Cs_EndedCoating;
         this.Invoke(dele, new object[] { sender, e });
     }
     else
     {
         ListViewItem lvi = lvi_dic[e.No];
         WaferLine    wl  = lvi.Tag as WaferLine;
         wl.EndCoating(e.BWCnt, e.AWCnt);
         lvi.SubItems[1].Text = e.BWCnt.ToString();
         if (lvi.Selected)
         {
             //lvi.SubItems[1].Text = e.BWCnt.ToString();
             lb_awafer.Text = e.AWCnt.ToString();
         }
     }
 }