22
schangxiang@126.com
2024-12-20 d151ad916449dd1b081ce515daf893e54ef5511c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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();
        }
    }
}