//groupbox 1 private void btnSurv1Perks_Click(object sender, EventArgs e) { if (!IsIndexSelected(listSurv1Perks)) { ModifyListBox(listSurv1Perks, txtSurv1Perks, LargeListSize); } else { FormatListBox.ChangeValue(listSurv1Perks, txtSurv1Perks); } }
private void btnKillerAddOns_Click(object sender, EventArgs e) { if (!IsIndexSelected(listKillerAddOns)) { ModifyListBox(listKillerAddOns, txtKillerAddOns, SmallListSize); } else { FormatListBox.ChangeValue(listKillerAddOns, txtKillerAddOns); } }
private void deleteToolStripMenuItem_Click(object sender, EventArgs e) { FormatListBox.DeleteIndex(listSurv1Perks, txtSurv1Perks); FormatListBox.DeleteIndex(listSurv2Perks, txtSurv2Perks); FormatListBox.DeleteIndex(listSurv3Perks, txtSurv3Perks); FormatListBox.DeleteIndex(listSurv4Perks, txtSurv4Perks); FormatListBox.DeleteIndex(listSurv1AddOns, txtSurv1AddOns); FormatListBox.DeleteIndex(listSurv2AddOns, txtSurv2AddOns); FormatListBox.DeleteIndex(listSurv3AddOns, txtSurv3AddOns); FormatListBox.DeleteIndex(listSurv4AddOns, txtSurv4AddOns); FormatListBox.DeleteIndex(listKillerPerks, txtKillerPerks); FormatListBox.DeleteIndex(listKillerAddOns, txtKillerAddOns); }
private void listKillerAddOns_SelectedIndexChanged(object sender, EventArgs e) { FormatListBox.TextBoxtoListIndex(listKillerAddOns, txtKillerAddOns); }
private void listSurv4Perks_SelectedIndexChanged(object sender, EventArgs e) { FormatListBox.TextBoxtoListIndex(listSurv4Perks, txtSurv4Perks); }
private void deleteToolStripMenuItem_Click(object sender, EventArgs e) { FormatListBox.DeleteIndex(listMarkedTimes, txtModify); }
private void listMarkedTimes_SelectedIndexChanged(object sender, EventArgs e) { FormatListBox.TextBoxtoListIndex(listMarkedTimes, txtModify); }
private void btnModify_Click(object sender, EventArgs e) { FormatListBox.ChangeValue(listMarkedTimes, txtModify, GetTime()); }