Esempio n. 1
0
        private void 设备历史数据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            listView1.Visible = false;
            var frm = new FrmDeviceData();

            frm.MdiParent = this;
            frm.Show();
        }
Esempio n. 2
0
        private void btnDeviceData_Click(object sender, EventArgs e)
        {
            //FormHelper.CreateForm<Data.FrmDeviceData>();
            var frm = new FrmDeviceData();

            frm.MdiParent = this;
            frm.Show();
            SetParent((int)frm.Handle, (int)this.Handle);
        }