diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-08-20 20:23:23 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-08-20 20:23:23 +0200 |
| commit | 5ded9101522573336813c88d49e2ed27d70429fb (patch) | |
| tree | c1882937d54dab93be02a084b05dfb23cae517a1 /Samples/BindingTest/Program.cs | |
| parent | 36f62cf1ca61cb10c6958787376ae76efb71a1ea (diff) | |
keep only HelloWorld, ShowCase and PerfTests samplesv0.9.5-beta
Diffstat (limited to 'Samples/BindingTest/Program.cs')
| -rw-r--r-- | Samples/BindingTest/Program.cs | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Samples/BindingTest/Program.cs b/Samples/BindingTest/Program.cs deleted file mode 100644 index 019e3ce6..00000000 --- a/Samples/BindingTest/Program.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) 2013-2020 Jean-Philippe Bruyère <jp_bruyere@hotmail.com> -// -// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) -using System; -using System.Runtime.CompilerServices; -using Crow; -using Samples; - -namespace BindingTest -{ - class Program : SampleBase - { - - static void Main () - { - using (Program app = new Program ()) { - app.Run (); - //DbgLogger.save (app); - } - } - - protected override void OnInitialized () - { - Load ("#ui.test.crow").DataSource = this; - TcVCInstance = new TestClassVC (); - } - - - void setDataSourceNull (object sender, MouseButtonEventArgs e) - { - TcVCInstance = null; - Console.WriteLine ("set data source null"); - } - void setDataSourceThis (object sender, MouseButtonEventArgs e) - { - TcVCInstance = new TestClassVC () { Prop1 = "instance 1 prop1 value", Prop2 = "instance 1 prop2 value" }; - Console.WriteLine ("set data source not null"); - } - - } -} |