-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathForm1.cs
More file actions
35 lines (27 loc) · 813 Bytes
/
Form1.cs
File metadata and controls
35 lines (27 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using Mile.Xaml;
using MileXamlBlankAppNetFrameworkModern;
using System;
using System.Windows.Forms;
using Windows.UI.Xaml;
namespace MileXamlBlankAppNetFramework
{
public partial class Form1 : Form
{
WindowsXamlHost xamlHost = new WindowsXamlHost();
public Form1()
{
InitializeComponent();
this.Controls.Add(xamlHost);
xamlHost.AutoSize = true;
xamlHost.Dock = DockStyle.Fill;
xamlHost.Child = new MainPage();
this.Load += Form1_Load;
//ContainerControl control = new ContainerControl();
//this.Controls.Add(control);
//control.Dock = DockStyle.Fill;
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}