private void dailyReportToolStripMenuItem_Click(object sender, EventArgs e) { DReport form1 = new DReport(); form1.Show(); //testttt }
private void dailyReportToolStripMenuItem_Click(object sender, EventArgs e) { panel1.Controls.Clear(); DReport form1 = new DReport(); form1.TopLevel = false; panel1.Controls.Add(form1); form1.Show(); }