private void reportss_Click(object sender, EventArgs e) // כפתור הפקת דוחות { this.Hide(); // להסתיר את המסך הקודם ReportGUI rep = new ReportGUI(); // מסך מתן הרשאות rep.Show(); // להציג את המסך }
private void btnChart_Click(object sender, EventArgs e) { MessageBox.Show("Tính năng đang được cập nhật", "Hệ thống", MessageBoxButtons.OK, MessageBoxIcon.Information); pnlHighlight.Height = btnChart.Height; pnlHighlight.Top = btnChart.Top; this.pnForm.Controls.Clear(); ReportGUI form = new ReportGUI(); form.FormBorderStyle = FormBorderStyle.None; form.TopLevel = false; form.AutoScroll = true; this.pnForm.Controls.Add(form); form.Show(); }