added challenge main screen (just testing)

This commit is contained in:
Alexander Eckart committed 2012-12-15 12:38:48 +01:00
1 parent fb4c7de142
commit 41f8f9ce72
12 files changed
+275 -41

No files matched your search

+26
View File
@@ -207,6 +207,32 @@ namespace Vocaluxe.Menu
return values;
}
public static bool GetInnerValuesFromXML(string Cast, XPathNavigator Navigator, ref List<string> Values)
{
try
{
Navigator.MoveToRoot();
Navigator.MoveToFirstChild();
Navigator.MoveToFirstChild();
while (Navigator.Name != Cast)
Navigator.MoveToNext();
Navigator.MoveToFirstChild();
Values.Add(Navigator.Value);
while (Navigator.MoveToNext())
Values.Add(Navigator.Value);
}
catch
{
return false;
}
return true;
}
public static bool ItemExistsInXML(string Cast, XPathNavigator Navigator)
{
XPathNodeIterator iterator;
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Text;
namespace Vocaluxe.Menu
{
abstract class CMenuParty : CMenu
public abstract class CMenuParty : CMenu
{
public CMenuParty()
{