123456789101112131415161718192021222324252627282930313233343536 |
- 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 PTMedicalInsurance.Forms.SettlementWithNopwdApplys
- {
- public partial class MainForm : Form
- {
- public MainForm()
- {
- InitializeComponent();
- //初始化界面
- InitForm();
- //添加上传
- AddForm(this.tpApply, new SettlementWithNopwdApply(this));
- }
- private void InitForm()
- {
- this.StartPosition = FormStartPosition.CenterParent;
- this.WindowState = FormWindowState.Maximized;
- }
- private void AddForm(TabPage tabpage, Form frm)
- {
- tabpage.Controls.Add(frm);
- frm.Show();
- }
- }
- }
|