Esempio n. 1
0
        private void dgvPre_DoubleClick(object sender, EventArgs e)
        {
            time = 120;
            if (dgvPre.Rows.Count <= 0)
            {
                return;
            }

            string status = dgvPre.CurrentRow.Cells["IVStatus"].Value.ToString();

            LabelCheck lb = new LabelCheck(dgvPre.CurrentRow.Cells["MyLabel"].Value.ToString(), status);

            lb.ShowDialog();
        }
Esempio n. 2
0
 private void dgvPre_DoubleClick(object sender, EventArgs e)
 {
     time = 120;
     if (dgvPre.Rows.Count <= 0)
     {
         return;
     }
     #region 旧双击
     string status = dgvPre.CurrentRow.Cells["IVStatus"].Value.ToString();
     //if(status=="配置取消"||status=="已退药")
     //{
     //    status=dgvPre.CurrentRow.Cells["TrueStatus"].Value.ToString();
     //}
     //if (status != "已打印")
     //{
     //    LabelCheck lb = new LabelCheck(dgvPre.CurrentRow.Cells["LabelNo"].Value.ToString(), status);
     //    lb.Show();
     //}
     #endregion
     LabelCheck lb = new LabelCheck(dgvPre.CurrentRow.Cells["LabelNo"].Value.ToString(), status);
     lb.ShowDialog();
 }