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; using DevExpress.XtraSplashScreen; using Scada; using WMS.Ctrl; using WMS.Frm.Base; namespace WMS.FrmBaseData { public partial class FormKCCAD : FormBase { public FormKCCAD() { InitializeComponent(); } private void FormKCCAD_Load(object sender, EventArgs e) { FrmScada frmScada = new FrmScada(); frmScada.TopLevel = false; frmScada.FormBorderStyle = FormBorderStyle.None; frmScada.userData = userData; frmScada.Visible = true; frmScada.Dock = DockStyle.Fill; panelControl1.Controls.Add(frmScada); } } }