示例#1
0
        private void internalMarksToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmInternalMarksReport frm = new frmInternalMarksReport();

            frm.label6.Text         = UserType.Text;
            frm.label7.Text         = User.Text;
            frm.cmbCourse.Text      = "";
            frm.cmbBranch.Text      = "";
            frm.cmbBranch.Enabled   = false;
            frm.cmbSemester.Text    = "";
            frm.cmbSemester.Enabled = false;
            frm.cmbSession.Text     = "";
            frm.cmbSession.Enabled  = false;
            frm.cmbSection.Text     = "";
            frm.cmbSection.Enabled  = false;
            frm.cmbExam.Text        = "";
            frm.cmbExam.Enabled     = false;
            frm.crystalReportViewer1.ReportSource = null;
            frm.Show();
        }
示例#2
0
        private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmLogin frm = new frmLogin();
            frmScholarshipPaymentReceiptRpt o1 = new frmScholarshipPaymentReceiptRpt();

            o1.Hide();
            frmBusFeePaymentReceiptRpt o2 = new frmBusFeePaymentReceiptRpt();

            o2.Hide();
            frmHostelFeePaymentReceiptRpt o3 = new frmHostelFeePaymentReceiptRpt();

            o3.Hide();
            frmEventsReport o4 = new frmEventsReport();

            o4.Hide();
            frmTransportationReport o5 = new frmTransportationReport();

            o5.Hide();
            frmAttendanceReport o6 = new frmAttendanceReport();

            o6.Hide();
            frmInternalMarksReport o7 = new frmInternalMarksReport();

            o7.Hide();
            frmFeeDetailsReport o8 = new frmFeeDetailsReport();

            o8.Hide();
            frmSubjectInfoReport o9 = new frmSubjectInfoReport();

            o9.Hide();
            this.Hide();
            frm.cmbUsertype.Text = "";
            frm.txtUserName.Text = "";
            frm.txtPassword.Text = "";
            frm.cmbUsertype.Focus();
            frm.Show();
        }