private void chartATE_DoubleClick(object sender, EventArgs e)
 {
     if (txtATEQtyInfo.Text.Substring(txtATEQtyInfo.Text.LastIndexOf(':') + 1, txtATEQtyInfo.Text.Length - txtATEQtyInfo.Text.LastIndexOf(':') - 1) == "0")
     {
         MessageBox.Show("There is no ATE Qty. data in the database,can't view F.R. by line.", "NO DATA", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
     }
     else
     {
         //frmATEYR f = new frmATEYR();
         frmYRbyLine f = new frmYRbyLine();
         f.ShowDialog();
     }
 }
        private void 当日YRToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f = new frmYRbyLine();

            f.ShowDialog();
        }
        private void frmYROverAll_DoubleClick(object sender, EventArgs e)
        {
            Form f = new frmYRbyLine();

            f.ShowDialog();
        }