private void btnEvaluarProductosNvos_Click(object sender, EventArgs e) { EstimadoVentas ev; if (txtAnio.Text != "" && txtVersion.Text != "") { Cursor.Current = Cursors.WaitCursor; ev = new EstimadoVentas(); ev.EvaluarArtNuevos(Convert.ToInt32(txtAnio.Text), txtVersion.Text); Cursor.Current = Cursors.Default; } }
private void btnAplicarPorcSellInTiendas_Click(object sender, EventArgs e) { EstimadoVentas ev; if (txtAnio.Text != "" && txtVersion.Text != "") { Cursor.Current = Cursors.WaitCursor; ev = new EstimadoVentas(); ev.AplicarPorcentajeSellIn_a_Tiendas(Convert.ToInt32(txtAnio.Text), txtVersion.Text); Cursor.Current = Cursors.Default; } }
private void button1_Click(object sender, EventArgs e) { EstimadoVentas ev; if (txtAnio.Text != "" && txtVersion.Text != "") { Cursor.Current = Cursors.WaitCursor; ev = new EstimadoVentas(); ev.ObtenerPorcentaje(Convert.ToInt32(txtAnio.Text), txtVersion.Text); Cursor.Current = Cursors.Default; } }
private void btnObtenerInformacion_Click(object sender, EventArgs e) { DataTable dt; EstimadoVentas ev; if (txtAnio.Text != "" && txtVersion.Text != "") { Cursor.Current = Cursors.WaitCursor; ev = new EstimadoVentas(); dt = ev.ListarPorcentajesCrecimiento(Convert.ToInt32(txtAnio.Text), txtVersion.Text); dgvPorcentaje.DataSource = dt; dgvPorcentaje.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells); Cursor.Current = Cursors.Default; } }