private void DataGrid_Show_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e) { try { DataGridViewRow row = DataGrid_Show.Rows[e.RowIndex]; if (Accion == "Monto") { FormMontoMatricula Form_Monto = Owner as FormMontoMatricula; Form_Monto.Fun_CargarDatos( (int)Convert.ToDouble(row.Cells["Codigo"].Value.ToString()), row.Cells["Nombre del Alumno"].Value.ToString()); } else if (Accion == "Gastos") { FormIngresoGastos Form_Ingr = Owner as FormIngresoGastos; Form_Ingr.Fun_CargarDatos((int)Convert.ToDouble(row.Cells["Codigo"].Value.ToString()), row.Cells["Nombre del Alumno"].Value.ToString()); } this.Close(); } catch (Exception) { } }
private void montoMatriculaToolStripMenuItem_Click(object sender, EventArgs e) { FormMontoMatricula Mon = new FormMontoMatricula(); Mon.ShowDialog(); }
private void button5_Click(object sender, EventArgs e) { FormMontoMatricula Monto = new FormMontoMatricula(); Monto.ShowDialog(); }