コード例 #1
0
 private void btnApply_Click(object sender, EventArgs e)
 {
     if (lstFilters.SelectedItems.Count > 0)
     {
         AddItem itemForm = new AddItem(option, lstFilters.SelectedItems[0].Index);
         itemForm.Show(this);
     }
 }
コード例 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            AddItem itemForm = new AddItem(option, -1);

            itemForm.Show(this);
        }
コード例 #3
0
 private void btnApply_Click(object sender, EventArgs e)
 {
     if (lstFilters.SelectedItems.Count > 0)
     {
         AddItem itemForm = new AddItem(option, lstFilters.SelectedItems[0].Index);
         itemForm.Show(this);
     }
 }
コード例 #4
0
 private void btnAdd_Click(object sender, EventArgs e)
 {
     AddItem itemForm = new AddItem(option, -1);
     itemForm.Show(this);
 }