//FORM1
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 AinB
{
public partial class Index : Form
{
public Index()
{
InitializeComponent();
//设置窗口大小
this.Size = new System.Drawing.Size(1000,500);
}
private void Form1_Load(object sender, EventArgs e)
{
//预留加载,设置欢迎界面
}
private void toolStripMenuItem1_Click(object sender, EventArgs e)
{
//页签控件单机事件
MO f2 = new MO();
f2.Text = "MO";
f2.Location = new Point(0, 0);
f2.Size = new Size(600, 320);
f2.MdiParent = this;
f2.Show();
}
}
}