示例#1
0
 public frmCargaAcumulados()
 {
     InitializeComponent();
     this.txtLegajo.KeyDown       += new KeyEventHandler(txtLegajo_KeyDown);
     this.txtLegajo.GotFocus      += new EventHandler(txtLegajo_GotFocus);
     this.cmbEmpleados.KeyDown    += new KeyEventHandler(cmbEmpleados_KeyDown);
     this.cmbTablasIndice.KeyDown += new KeyEventHandler(cmbTablasIndice_KeyDown);
     this.cmbAnios.KeyDown        += new KeyEventHandler(cmbAnios_KeyDown);
     this.cmbMeses.KeyDown        += new KeyEventHandler(cmbMeses_KeyDown);
     this.txtValor.KeyDown        += new KeyEventHandler(txtValor_KeyDown);
     this.txtValor.GotFocus       += new EventHandler(txtValor_GotFocus);
     this.acumulados = new Acumulados();
     this.cargarCombos();
     this.ShowDialog();
 }
示例#2
0
 public frmCargaAcumulados()
 {
     InitializeComponent();
     this.txtLegajo.KeyDown += new KeyEventHandler(txtLegajo_KeyDown);
     this.txtLegajo.GotFocus += new EventHandler(txtLegajo_GotFocus);
     this.cmbEmpleados.KeyDown += new KeyEventHandler(cmbEmpleados_KeyDown);
     this.cmbTablasIndice.KeyDown += new KeyEventHandler(cmbTablasIndice_KeyDown);
     this.cmbAnios.KeyDown += new KeyEventHandler(cmbAnios_KeyDown);
     this.cmbMeses.KeyDown += new KeyEventHandler(cmbMeses_KeyDown);
     this.txtValor.KeyDown += new KeyEventHandler(txtValor_KeyDown);
     this.txtValor.GotFocus += new EventHandler(txtValor_GotFocus);
     this.acumulados = new Acumulados();
     this.cargarCombos();
     this.ShowDialog();
 }