예제 #1
0
파일: BusquedaForm.cs 프로젝트: Kyouru/SICA
 private void dgvBusqueda_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter || e.KeyCode == Keys.Return)
     {
         if (dgvBusqueda.SelectedCells.Count == 1)
         {
             Globals.IdInventario = Int32.Parse(dgvBusqueda.Rows[dgvBusqueda.SelectedCells[0].RowIndex].Cells["ID"].Value.ToString());
             HistoricoForm vHistorico = new HistoricoForm();
             vHistorico.Show();
         }
     }
 }
예제 #2
0
        private void btnHistorico_Click(object sender, EventArgs e)
        {
            HistoricoForm form = new HistoricoForm(cbLogada);

            form.Show();
        }