Beispiel #1
0
        private void btnGenerate_Click(object sender, EventArgs e)
        {
            PaymentReport pm = new PaymentReport();

            if (txtIDNumber.Text != string.Empty)
            {
                if (txtIDNumber.Text != "All")
                {
                    if (chkStudentID())
                    {
                        pm.setVars(txtIDNumber.Text);
                        pm.ShowDialog();
                    }
                    else
                    {
                        MessageBox.Show("ID Number does not exist", "Attention", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    }
                }
                else
                {
                    pm.setVars(txtIDNumber.Text);
                    pm.ShowDialog();
                }
            }
        }
Beispiel #2
0
        private void btnGenerate_Click(object sender, EventArgs e)
        {
            PaymentReport pm = new PaymentReport();
            if (txtIDNumber.Text != string.Empty)
            {
                if (txtIDNumber.Text != "All")
                {
                if (chkStudentID())
                {
                    pm.setVars(txtIDNumber.Text);
                    pm.ShowDialog();
                }
                else
                    MessageBox.Show("ID Number does not exist", "Attention", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            else
                {
                    pm.setVars(txtIDNumber.Text);
                    pm.ShowDialog();
                }

            }
        }
Beispiel #3
0
        private void btnAttendanceList_Click(object sender, EventArgs e)
        {
            if (GlobalClass.WindowAttendanceDetails == true)
            {

            }
            else
            {
                PaymentReport attendanceDetails = new PaymentReport();
                attendanceDetails.Show(this);
                attendanceDetails.Location = new Point(25, 25);
                GlobalClass.WindowAttendanceDetails = true;
            }
        }