csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
119 lines
5.0 KiB
119 lines
5.0 KiB
using Avalonia.Win32.Embedding;
|
|
|
|
namespace WindowsInteropTest
|
|
{
|
|
partial class EmbedToWinFormsDemo
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
this.monthCalendar1 = new System.Windows.Forms.MonthCalendar();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.avaloniaHost = new WinFormsAvaloniaControlHost();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
this.button1.Location = new System.Drawing.Point(28, 29);
|
|
this.button1.Name = "button1";
|
|
this.button1.Size = new System.Drawing.Size(164, 73);
|
|
this.button1.TabIndex = 0;
|
|
this.button1.Text = "button1";
|
|
this.button1.UseVisualStyleBackColor = true;
|
|
//
|
|
// monthCalendar1
|
|
//
|
|
this.monthCalendar1.Location = new System.Drawing.Point(28, 114);
|
|
this.monthCalendar1.Name = "monthCalendar1";
|
|
this.monthCalendar1.TabIndex = 1;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
this.groupBox1.Controls.Add(this.button1);
|
|
this.groupBox1.Controls.Add(this.monthCalendar1);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(227, 418);
|
|
this.groupBox1.TabIndex = 2;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "WinForms";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox2.Controls.Add(this.avaloniaHost);
|
|
this.groupBox2.Location = new System.Drawing.Point(245, 12);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(501, 418);
|
|
this.groupBox2.TabIndex = 3;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Avalonia";
|
|
//
|
|
// avaloniaHost
|
|
//
|
|
this.avaloniaHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.avaloniaHost.Content = null;
|
|
this.avaloniaHost.Location = new System.Drawing.Point(6, 19);
|
|
this.avaloniaHost.Name = "avaloniaHost";
|
|
this.avaloniaHost.Size = new System.Drawing.Size(489, 393);
|
|
this.avaloniaHost.TabIndex = 0;
|
|
this.avaloniaHost.Text = "avaloniaHost";
|
|
//
|
|
// EmbedToWinFormsDemo
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(758, 442);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.MinimumSize = new System.Drawing.Size(600, 400);
|
|
this.Name = "EmbedToWinFormsDemo";
|
|
this.Text = "EmbedToWinFormsDemo";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
private System.Windows.Forms.MonthCalendar monthCalendar1;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private WinFormsAvaloniaControlHost avaloniaHost;
|
|
}
|
|
}
|