Exemple #1
0
        private void btnCriteriaModify_Click(object sender, EventArgs e)
        {
            FQueryCriteria frm = new FQueryCriteria(this, criteriaList, criteriaIndex);

            frm.ShowDialog(this);

            lstvCriteria.Items[criteriaIndex].Selected = true;
        }
Exemple #2
0
        private void btnCriteriaAdd_Click(object sender, EventArgs e)
        {
            int count = criteriaList.Count;

            FQueryCriteria frm = new FQueryCriteria(this, criteriaList);

            frm.ShowDialog(this);

            if (criteriaList.Count > count)
            {
                criteriaIndex = count;
                lstvCriteria.Items[criteriaIndex].Selected = true;
            }
        }