public void button1_Click(object sender, EventArgs e) { if (id_comunidad_cargado != "0") { ComunidadesForms.EnviosForms.CompletarEnvioForm nueva = new ComunidadesForms.EnviosForms.CompletarEnvioForm(dataGridView_documentos.SelectedCells[0].Value.ToString(), dataGridView_documentos.SelectedCells[6].Value.ToString(), dataGridView_documentos.SelectedCells[5].Value.ToString(), dataGridView_documentos.SelectedCells[4].Value.ToString(), dataGridView_documentos.SelectedCells[3].Value.ToString(), id_comunidad_cargado, "com"); nueva.Show(); } else { ComunidadesForms.EnviosForms.CompletarEnvioForm nueva = new ComunidadesForms.EnviosForms.CompletarEnvioForm(dataGridView_documentos.SelectedCells[0].Value.ToString(), dataGridView_documentos.SelectedCells[1].Value.ToString(), dataGridView_documentos.SelectedCells[6].Value.ToString(), dataGridView_documentos.SelectedCells[7].Value.ToString(), dataGridView_documentos.SelectedCells[8].Value.ToString(), "panel"); nueva.Show(); } }
public FormSeleccionPlantillas(ComunidadesForms.EnviosForms.CompletarEnvioForm form_anterior) { InitializeComponent(); this.form_anterior = form_anterior; }