private void btnNewCotizacion_Click(object sender, EventArgs e) { //ext.limpiar(this.Controls); frmGestionCotizacion form = new frmGestionCotizacion(); form.MdiParent = this.MdiParent; form.Proceso = 1; form.Show(); this.Close(); }
private void dgvCotizaciones_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (dgvCotizaciones.Rows.Count >= 1 && e.RowIndex != -1) { frmGestionCotizacion form = new frmGestionCotizacion(); form.MdiParent = this.MdiParent; form.CodCotizacion = cotizacion.CodCotizacion; form.aprobado = Convert.ToInt32(dgvCotizaciones.SelectedRows[0].Cells[aprob.Name].Value); form.Proceso = 3; form.Show(); } }
private void btnIrCotizacion_Click(object sender, EventArgs e) { if (dgvCotizaciones.Rows.Count >= 1 && dgvCotizaciones.CurrentRow != null) { DataGridViewRow row = dgvCotizaciones.CurrentRow; frmGestionCotizacion form = new frmGestionCotizacion(); form.MdiParent = this.MdiParent; form.CodCotizacion = cotizacion.CodCotizacion; form.txtDocRef.Text = "CT"; form.aprobado = Convert.ToInt32(dgvCotizaciones.SelectedRows[0].Cells[aprob.Name].Value); form.Proceso = 3; form.Show(); } }
private void dgvCotizaciones_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (dgvCotizaciones.Rows.Count >= 1 && e.RowIndex != -1) { frmGestionCotizacion form = new frmGestionCotizacion(); form.MdiParent = this.MdiParent; form.CodCotizacion = cotizacion.CodCotizacion; form.Proceso = 3; //form.chbAprobado.Visible = true; form.btnAceptar.Visible = true; form.btnAceptar.Location = new Point(934, 11); form.Show(); form.Show(); } }
private void btnIrCotizacion_Click(object sender, EventArgs e) { if (dgvCotizaciones.Rows.Count >= 1 && dgvCotizaciones.CurrentRow != null) { DataGridViewRow row = dgvCotizaciones.CurrentRow; frmGestionCotizacion form = new frmGestionCotizacion(); form.MdiParent = this.MdiParent; form.CodCotizacion = cotizacion.CodCotizacion; //form.aprobado = Convert.ToInt32(dgvCotizaciones.SelectedRows[0].Cells[aprob.Name].Value); form.Proceso = 3; //form.chbAprobado.Visible = true; //form.btnAceptar.Visible = true; //form.btnAceptar.Location = new Point(934,11); form.Show(); } }