public void btnPartialPayment_Click(object sender, EventArgs e)
        {
            if (lvManageRecord.CheckedItems.Count > 0)
            {
                Student           st = new Student(lvManageRecord.CheckedItems[0].SubItems[1].Text);
                frmPartialPayment f  = new frmPartialPayment();
                f.ControlBox  = false;
                f.studentData = st.studentData;

                f.ShowDialog();
                RefreshData(" ");
            }
            else if (!string.IsNullOrEmpty(mtlStudID.Text) && !Helper.strIsEmpty(mtlStudID.Text))
            {
                Student           st = new Student(mtlStudID.Text);
                frmPartialPayment f  = new frmPartialPayment();
                f.ControlBox  = false;
                f.studentData = st.studentData;

                f.ShowDialog();
                RefreshData(" ");
            }
            else
            {
                MessageBox.Show("Please Select/Search a student first ", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
        public void btnPartialPayment_Click(object sender, EventArgs e)
        {
            if ( lvManageRecord.CheckedItems.Count > 0)
            {

                    Student st = new Student(lvManageRecord.CheckedItems[0].SubItems[1].Text);
                    frmPartialPayment f = new frmPartialPayment();
                    f.ControlBox = false;
                    f.studentData = st.studentData;

                    f.ShowDialog();
                    RefreshData(" ");

            }
            else if(!string.IsNullOrEmpty(mtlStudID.Text) && !Helper.strIsEmpty(mtlStudID.Text))
            {
                  Student st = new Student(mtlStudID.Text);
                frmPartialPayment f = new frmPartialPayment();
                f.ControlBox = false;
                f.studentData = st.studentData;

                f.ShowDialog();
                RefreshData(" ");
            }
            else
            {
                MessageBox.Show("Please Select/Search a student first ", "", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }