CodeMatrix/CodeMatrix/FormMain.cs
2021-01-16 00:02:32 +08:00

34 lines
786 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CodeMatrix
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
BackColor = Styles.Default.BackColor;
var codeMatrix = new UCCodeMatrix();
var codeQueue = new UCCodeQueue();
codeQueue.Location = new Point(codeMatrix.Size.Width, 0);
Controls.Add(codeMatrix);
Controls.Add(codeQueue);
var size = codeMatrix.Size;
size.Width += codeQueue.Width;
ClientSize = size;
}
}
}