Example #1
0
        private void btnResultModify_Click(object sender, EventArgs e)
        {
            FQueryResult frm = new FQueryResult(this, resultList, resultIndex);

            frm.ShowDialog(this);

            lstvResult.Items[resultIndex].Selected = true;
        }
Example #2
0
        private void btnResultAdd_Click(object sender, EventArgs e)
        {
            int count = resultList.Count;

            FQueryResult frm = new FQueryResult(this, resultList);

            frm.ShowDialog(this);

            if (resultList.Count > count)
            {
                resultIndex = count;
                lstvResult.Items[resultIndex].Selected = true;
            }
        }