コード例 #1
0
        private void dailyReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DReport form1 = new DReport();

            form1.Show();
            //testttt
        }
コード例 #2
0
        private void dailyReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            DReport form1 = new DReport();

            form1.TopLevel = false;
            panel1.Controls.Add(form1);
            form1.Show();
        }