예제 #1
0
 //groupbox 1
 private void btnSurv1Perks_Click(object sender, EventArgs e)
 {
     if (!IsIndexSelected(listSurv1Perks))
     {
         ModifyListBox(listSurv1Perks, txtSurv1Perks, LargeListSize);
     }
     else
     {
         FormatListBox.ChangeValue(listSurv1Perks, txtSurv1Perks);
     }
 }
예제 #2
0
 private void btnKillerAddOns_Click(object sender, EventArgs e)
 {
     if (!IsIndexSelected(listKillerAddOns))
     {
         ModifyListBox(listKillerAddOns, txtKillerAddOns, SmallListSize);
     }
     else
     {
         FormatListBox.ChangeValue(listKillerAddOns, txtKillerAddOns);
     }
 }
예제 #3
0
        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);
        }
예제 #4
0
 private void listKillerAddOns_SelectedIndexChanged(object sender, EventArgs e)
 {
     FormatListBox.TextBoxtoListIndex(listKillerAddOns, txtKillerAddOns);
 }
예제 #5
0
 private void listSurv4Perks_SelectedIndexChanged(object sender, EventArgs e)
 {
     FormatListBox.TextBoxtoListIndex(listSurv4Perks, txtSurv4Perks);
 }
예제 #6
0
 private void deleteToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormatListBox.DeleteIndex(listMarkedTimes, txtModify);
 }
예제 #7
0
 private void listMarkedTimes_SelectedIndexChanged(object sender, EventArgs e)
 {
     FormatListBox.TextBoxtoListIndex(listMarkedTimes, txtModify);
 }
예제 #8
0
 private void btnModify_Click(object sender, EventArgs e)
 {
     FormatListBox.ChangeValue(listMarkedTimes, txtModify, GetTime());
 }