Esempio n. 1
0
        private void button6_Click(object sender, EventArgs e)
        {
            diagMisc frm = new diagMisc();

            frm.ShowDialog();
            loadGrid();
        }
Esempio n. 2
0
        private void button4_Click_1(object sender, EventArgs e)
        {
            diagMisc frm = new diagMisc();

            frm.ShowDialog();
            totalFee = 0;
            button2.PerformClick();
        }
Esempio n. 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (dataGridView2.Rows.Count == 0)
            {
                return;
            }
            // miscfee_id,grade_level,details,price FROM misc_f
            diagMisc frm = new diagMisc(dataGridView2.SelectedRows[0].Cells[1].Value.ToString(),
                                        dataGridView2.SelectedRows[0].Cells[2].Value.ToString(),
                                        dataGridView2.SelectedRows[0].Cells[3].Value.ToString(),
                                        int.Parse(dataGridView2.SelectedRows[0].Cells[0].Value.ToString()));

            frm.ShowDialog();
        }