diff options
Diffstat (limited to 'Tests/BasicTests.cs')
| -rw-r--r-- | Tests/BasicTests.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 0733f189..0c515aa6 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -3,6 +3,7 @@ using Crow; using System.Collections.Generic; using System.Linq; using System.IO; +using System.Reflection; namespace Tests @@ -19,7 +20,10 @@ namespace Tests #region Test values for Binding public int intValue = 25; - + DirectoryInfo curDir = new DirectoryInfo (Path.GetDirectoryName(Assembly.GetEntryAssembly().Location)); + public FileSystemInfo[] CurDirectory { + get { return curDir.GetFileSystemInfos (); } + } public int IntValue { get { return intValue; @@ -105,6 +109,10 @@ namespace Tests GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/testWindow.goml"); w.DataSource = this; return; + } else if (e.Key == OpenTK.Input.Key.F5) { + GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/testWindow2.goml"); + w.DataSource = this; + return; } else if (e.Key == OpenTK.Input.Key.F2) idx--; else if (e.Key == OpenTK.Input.Key.F3) |