private void button6_Click(object sender, EventArgs e) { dialogTuition frm = new dialogTuition(); frm.ShowDialog(); refreshGrid(); }
private void button6_Click(object sender, EventArgs e) { dialogTuition dialog = new dialogTuition(); dialog.ShowDialog(); totalFee = 0; button2.PerformClick(); }
private void button1_Click(object sender, EventArgs e) { if (dataGridView2.Rows.Count == 0) { return; } dialogTuition frm = new dialogTuition(dataGridView2.SelectedRows[0].Cells[1].Value.ToString(), dataGridView2.SelectedRows[0].Cells[3].Value.ToString(), dataGridView2.SelectedRows[0].Cells[2].Value.ToString(), int.Parse(dataGridView2.SelectedRows[0].Cells[0].Value.ToString())); frm.ShowDialog(); refreshGrid(); }