mirror of
https://github.com/jie65535/CodeMatrix.git
synced 2025-07-31 18:19:13 +08:00
34 lines
786 B
C#
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;
|
|
}
|
|
|
|
}
|
|
}
|