private void buttonReport_Click(object sender, EventArgs e) { this.Close(); this.Hide(); ReportForm hm = new ReportForm(); hm.ShowDialog(); }
private void buttonReport_Click(object sender, EventArgs e) { slidePanel.Height = buttonReport.Height; slidePanel.Top = buttonReport.Top; this.Close(); this.Hide(); ReportForm rf = new ReportForm(); rf.ShowDialog(); }