mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-07-18 04:33:19 +08:00
45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
![]() |
using CPF;
|
|||
|
using CPF.Animation;
|
|||
|
using CPF.Charts;
|
|||
|
using CPF.Controls;
|
|||
|
using CPF.Drawing;
|
|||
|
using CPF.Shapes;
|
|||
|
using CPF.Styling;
|
|||
|
using CPF.Svg;
|
|||
|
using CPF.Toolkit.Controls;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace CPF.Toolkit.Demo
|
|||
|
{
|
|||
|
public class TestMdiView : Window
|
|||
|
{
|
|||
|
protected override void InitializeComponent()
|
|||
|
{
|
|||
|
this.CanResize = true;
|
|||
|
this.Title = "标题";
|
|||
|
this.Width = 1280;
|
|||
|
this.Height = 720;
|
|||
|
this.Background = null;
|
|||
|
this.Children.Add(new WindowFrame(this, new Panel
|
|||
|
{
|
|||
|
Size = SizeField.Fill,
|
|||
|
Background = "204,204,204",
|
|||
|
Children =
|
|||
|
{
|
|||
|
new MdiWindow
|
|||
|
{
|
|||
|
Title = "test",
|
|||
|
Content = new Button
|
|||
|
{
|
|||
|
Content = "test"
|
|||
|
},
|
|||
|
}
|
|||
|
}
|
|||
|
}));
|
|||
|
}
|
|||
|
}
|
|||
|
}
|