aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-06-04 23:16:35 +0200
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-06-04 23:16:35 +0200
commitd88c47659d248dbf5b4ec2b071906fafe013011e (patch)
tree8ffea6d3143e1cae6bd1cfb87ef5a8acb401c5ac /Samples
parent2e0586b573df1d1d1629044ad1b546a8a8c49ab6 (diff)
search default template with Interface.GetStreamFromPath, add LoadStyle public method in iface
Diffstat (limited to 'Samples')
-rw-r--r--Samples/BasicTests/BasicTests.cs3
-rw-r--r--Samples/common/ui/Interfaces/Divers/templateInStyle.crow2
2 files changed, 4 insertions, 1 deletions
diff --git a/Samples/BasicTests/BasicTests.cs b/Samples/BasicTests/BasicTests.cs
index e32b6080..13c0758c 100644
--- a/Samples/BasicTests/BasicTests.cs
+++ b/Samples/BasicTests/BasicTests.cs
@@ -37,7 +37,8 @@ namespace tests
//testFiles = new string [] { @"Interfaces/TemplatedGroup/3.crow" };
//testFiles = new string [] { @"Interfaces/Divers/testShape.crow" };
//testFiles = new string [] { @"Interfaces/TemplatedControl/testEnumSelector.crow" };
- testFiles = new string [] { @"Interfaces/Divers/all.crow" };
+ //testFiles = new string [] { @"Interfaces/Divers/all.crow" };
+ testFiles = new string [] { @"Interfaces/Divers/templateInStyle.crow" };
//testFiles = new string [] { @"Interfaces/Divers/colorPicker2.crow" };
testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray ();
testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Container", "*.crow")).ToArray ();
diff --git a/Samples/common/ui/Interfaces/Divers/templateInStyle.crow b/Samples/common/ui/Interfaces/Divers/templateInStyle.crow
new file mode 100644
index 00000000..159aa10d
--- /dev/null
+++ b/Samples/common/ui/Interfaces/Divers/templateInStyle.crow
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CheckBox Style="CheckBox2" /> \ No newline at end of file