Skip to content

Commit ef00b48

Browse files
committed
Merge branch 'master' of https://github.com/tws2xa/EventCreator
2 parents 667c8b5 + 7ff2ba0 commit ef00b48

File tree

2 files changed

+38
-18
lines changed

2 files changed

+38
-18
lines changed

Form1.Designer.cs

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Form1.cs

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,24 @@ internal string getEventType()
4949
return (string)eventTypeInput.Items[eventTypeInput.SelectedIndex];
5050
}
5151

52-
internal static List<string> getPossibleLocations()
52+
internal List<string> getPossibleLocations()
5353
{
54-
//TODO Return the list of possible locations
55-
return new List<string>();
54+
List<String> possibleLocations = new List<String>();
55+
foreach (int index in locationsInput.CheckedIndices)
56+
{
57+
possibleLocations.Add((String)(locationsInput.Items[index]));
58+
}
59+
return possibleLocations;
5660
}
5761

58-
internal static List<string> getRequiredParty()
59-
{
60-
//TODO Return the list of required party members
61-
return new List<string>();
62+
internal List<string> getRequiredParty()
63+
{
64+
List<String> reqPartyMem = new List<String>();
65+
foreach (int index in reqPaMemInput.CheckedIndices)
66+
{
67+
reqPartyMem.Add((String)(reqPaMemInput.Items[index]));
68+
}
69+
return reqPartyMem;
6270
}
6371

6472
internal string getIntroText()
@@ -652,6 +660,16 @@ private void frmMain_Load(object sender, EventArgs e)
652660
responseOptions.Add(0, new ResponseOption(textResponse1.Text));
653661
}
654662

663+
private void tabGeneralInfo_Click(object sender, EventArgs e)
664+
{
665+
666+
}
667+
668+
private void locationsInput_SelectedIndexChanged(object sender, EventArgs e)
669+
{
670+
671+
}
672+
655673
/* ------------------------------------------------ */
656674
// ------------------------------------------------ //
657675
/* ------------------------------------------------ */

0 commit comments

Comments
 (0)