OpenGL测试

This commit is contained in:
小红帽
2023-11-29 10:59:22 +08:00
parent 4862d41d13
commit ae42978590
7 changed files with 219 additions and 30 deletions

View File

@@ -738,15 +738,17 @@ namespace ConsoleApp1
MarginTop = 450,
Height = 58,
Width = 121,
},//#if !Net4
//new CPF.Skia.GlView
//{
// MarginRight = 56,
// MarginTop = 44,
// Height = 132,
// Width = 151,
//},
//#endif
},
#if !Net4&&!NETCOREAPP3_0
new GLView
{
MarginRight = 56,
MarginTop = 44,
Height = 132,
Width = 151,
[nameof(GLView.DoubleClick)]=new CommandDescribe((s,e)=>{ s.Dispose(); }),
},
#endif
new Button
{
Commands =
@@ -2444,14 +2446,14 @@ new TabItemTemplate{
BindingMode.OneWay),
Name = "hmbb"
},
new TextBox
{
Width = 130,
Height= 60,
Background =Color.Gray,
[nameof(TextBox.Text)]= new Obx<MainModel>(a => a.Test1.test.test.test.test.Name,
BindingMode.OneWayToSource),
},
//new TextBox
//{
// Width = 130,
// Height= 60,
// Background =Color.Gray,
// [nameof(TextBox.Text)]= new Obx<MainModel>(a => a.Test1.test.test.test.test.Name,
// BindingMode.OneWayToSource),
//},
new Button
{
Content="创建对象",