Beispiel #1
0
        private void pnlHyd_Click(object sender, EventArgs e)
        {
            var nForm1 = new AdminReport(lblUser.Text, "BLR");

            nForm1.Show();
            Hide();
        }
Beispiel #2
0
        private void btnReport_Click(object sender, EventArgs e)
        {
            if (lblUser.Text.Equals("W2D Administartor") || lblUser.Text.Equals("USI Logistics"))
            {
                var nForm1 = new AdminReport(lblUser.Text, "All");
                nForm1.Show();
            }
            else
            {
                var nForm1 = new ReportITS();
                nForm1.Show();
            }

            this.Hide();
        }