//Menu Buttons private void dataReportToolStripMenuItem_Click(object sender, EventArgs e) { HRMDataView hf = new HRMDataView(path); hf.MdiParent = this; hf.Show(); zgc.Visible = false; panel2.Visible = false; }
private void button1_Click(object sender, EventArgs e) { HRMDataView hdv = new HRMDataView(path); hdv.ShowDialog(); }