Beispiel #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     this.Visible = false;
     this.Close();
     GUI.Recepcion.SolicitudControl solicitudcontrol = new SolicitudControl();
     solicitudcontrol.ShowDialog();
 }
Beispiel #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            this.Close();
            GUI.Recepcion.SolicitudControl solicitudcontrol = new SolicitudControl();
            solicitudcontrol.button1.Text          = "Modificar";
            solicitudcontrol.label2.Text           = Convert.ToString(dataGridView1.CurrentRow.Cells["id_solicitud"].Value);
            solicitudcontrol.textBox2.Text         = Convert.ToString(dataGridView1.CurrentRow.Cells["asunto"].Value);
            solicitudcontrol.textBox3.Text         = Convert.ToString(dataGridView1.CurrentRow.Cells["id_cliente"].Value);
            solicitudcontrol.dateTimePicker1.Value = Convert.ToDateTime(dataGridView1.CurrentRow.Cells["Fecha Creado"].Value);
            solicitudcontrol.richTextBox1.Text     = Convert.ToString(dataGridView1.CurrentRow.Cells["descripcion"].Value);


            solicitudcontrol.ShowDialog();
        }