Exemple #1
0
        private void feePaymentToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            frmClassFeePayments obj = new frmClassFeePayments();

            obj.Show();
            obj.MdiParent = this;
        }
Exemple #2
0
        private void searchSudentRecordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmClassFeePayments obj = new frmClassFeePayments();

            obj.Show();
            obj.MdiParent = this;
        }
Exemple #3
0
        private void feeRecorddataGridView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                frmClassFeePayments obj = new frmClassFeePayments();
                this.Hide();
                obj.Show();

                obj.stdID.Text  = feeRecorddataGridView.SelectedRows[0].Cells[0].Value.ToString();
                obj.StName.Text = feeRecorddataGridView.SelectedRows[0].Cells[1].Value.ToString();
                obj.Class.Text  = feeRecorddataGridView.SelectedRows[0].Cells[2].Value.ToString();

                obj.Section.Text    = feeRecorddataGridView.SelectedRows[0].Cells[3].Value.ToString();
                obj.Session.Text    = feeRecorddataGridView.SelectedRows[0].Cells[4].Value.ToString();
                obj.FeeName.Text    = feeRecorddataGridView.SelectedRows[0].Cells[5].Value.ToString();
                obj.Month.Text      = feeRecorddataGridView.SelectedRows[0].Cells[6].Value.ToString();
                obj.Year.Text       = feeRecorddataGridView.SelectedRows[0].Cells[7].Value.ToString();
                obj.FeeAmnt.Text    = feeRecorddataGridView.SelectedRows[0].Cells[8].Value.ToString();
                obj.Fine.Text       = feeRecorddataGridView.SelectedRows[0].Cells[9].Value.ToString();
                obj.PayDetails.Text = feeRecorddataGridView.SelectedRows[0].Cells[10].Value.ToString();
                obj.GrandTotal.Text = feeRecorddataGridView.SelectedRows[0].Cells[11].Value.ToString();
                obj.TotalPaid.Text  = feeRecorddataGridView.SelectedRows[0].Cells[12].Value.ToString();

                obj.PayDate.Text    = feeRecorddataGridView.SelectedRows[0].Cells[13].Value.ToString();
                obj.PreDeu.Text     = feeRecorddataGridView.SelectedRows[0].Cells[14].Value.ToString();
                obj.CurrentDeu.Text = feeRecorddataGridView.SelectedRows[0].Cells[15].Value.ToString();
            }
            catch (Exception)
            {
                // throw;
            }
        }
Exemple #4
0
        private void button3_Click(object sender, EventArgs e)
        {
            frmClassFeePayments obj = new frmClassFeePayments();

            obj.Show();
            this.Hide();
        }
Exemple #5
0
        private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                frmClassFeePayments obj = new frmClassFeePayments();
                obj.Show();
                obj.stdID.Text  = dataGridView1.SelectedRows[0].Cells[0].Value.ToString();
                obj.StName.Text = dataGridView1.SelectedRows[0].Cells[1].Value.ToString();

                obj.Class.Text = dataGridView1.SelectedRows[0].Cells[2].Value.ToString();

                obj.Section.Text = dataGridView1.SelectedRows[0].Cells[3].Value.ToString();
                this.Hide();
            }
            catch (Exception)
            {
                //throw;
            }
        }