Ejemplo n.º 1
0
        private void btnCVTType_Click(object sender, EventArgs e)
        {
            UniversalControlLibrary.FormDataCheck frm =
                new UniversalControlLibrary.FormDataCheck(m_serverInspection.GetCVTType().AsEnumerable().Select(t => t.Field <string>("CVTType")).ToList(), m_lstCVTType);

            frm.ShowDialog();

            if (frm.DialogResult == DialogResult.OK)
            {
                m_lstCVTType = frm.LstResult;
            }
        }
        private void RadioButton_Click(object sender, EventArgs e)
        {
            if (rbMultiple.Checked)
            {
                cmbBillStatus.Enabled = false;
                List <string> tempList = new List <string>();

                foreach (object item in cmbBillStatus.Items)
                {
                    tempList.Add(item.ToString());
                }

                FormDataCheck frm = new FormDataCheck(tempList, m_listBillStatus);
                frm.ExecuteTask += new GlobalObject.DelegateCollection.DelegateTask(frm_ExecuteTask);
                frm.ShowDialog();
            }
            else
            {
                cmbBillStatus.Enabled = true;
                m_listBillStatus      = null;
                m_blCheck             = false;
            }
        }