using iWareCommon.Utils;
|
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 iWareTestForm
|
{
|
public partial class MainForm : Form
|
{
|
AutoSizeFormClass asc = new AutoSizeFormClass();
|
public MainForm()
|
{
|
InitializeComponent();
|
}
|
|
|
//接口测试
|
private void button1_Click(object sender, EventArgs e)
|
{
|
InterFaceTestForm frm = new InterFaceTestForm();
|
frm.StartPosition = FormStartPosition.CenterParent;
|
//frm.Show();
|
frm.ShowDialog();
|
}
|
|
private void btn_close_Click(object sender, EventArgs e)
|
{
|
this.Close();
|
}
|
|
private void MainForm_SizeChanged(object sender, EventArgs e)
|
{
|
asc.controlAutoSize(this);
|
}
|
|
private void MainForm_Load(object sender, EventArgs e)
|
{
|
asc.controllInitializeSize(this);
|
}
|
|
private void btn_RCSWCS_Click(object sender, EventArgs e)
|
{
|
tb_PlanNo frm = new tb_PlanNo();
|
frm.StartPosition = FormStartPosition.CenterParent;
|
frm.Show();
|
}
|
}
|
}
|