예제 #1
0
        private void OnRemoveAssignButtonClick(object sender, EventArgs e)
        {
            if (AssignsListBox.SelectedItems.Count <= 0)
            {
                return;
            }

            foreach (int selectedIndex in AssignsListBox.SelectedIndices)
            {
                RemoveAssigns(selectedIndex);
            }

            AssignsListBox.ClearSelected();
        }
예제 #2
0
 private void OnClearAssignsButtonClick(object sender, EventArgs e)
 {
     ClearAssigns();
     AssignsListBox.ClearSelected();
 }