コード例 #1
0
        private void logoutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmLogin frm = new frmLogin();
            frmScholarshipPaymentReceiptRpt o1 = new frmScholarshipPaymentReceiptRpt();

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

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

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

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

            o1.Hide();
            this.Hide();
            frm.cmbUsertype.Text = "";
            frm.txtUserName.Text = "";
            frm.txtPassword.Text = "";
            frm.cmbUsertype.Focus();
            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();
        }
コード例 #3
0
        private void busFeePaymentReceiptToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmBusFeePaymentReceiptRpt frm = new frmBusFeePaymentReceiptRpt();

            frm.Show();
        }