예제 #1
0
 private void dataGridViewMes_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     int r = this.dataGridViewMes.CurrentCell.RowIndex;
     frmLibroContable flc = new frmLibroContable(Convert.ToInt32(this.dataGridViewMes.Rows[r].Cells["idmes"].Value));
     flc.MdiParent = this.MdiParent;
     flc.Show();
     this.dataGridViewMes.ClearSelection();
 }
예제 #2
0
 private void libroContableToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     frmLibroContable flc = new frmLibroContable();
     flc.MdiParent = this;
     flc.Show();
 }