private void button1_Click(object sender, EventArgs e)
        {
            /*if (string.IsNullOrWhiteSpace(textBox2.Text) == true || string.IsNullOrWhiteSpace(textBox3.Text) == true || string.IsNullOrWhiteSpace(textBox4.Text) == true || string.IsNullOrWhiteSpace(comboBox1.Text) == true || string.IsNullOrWhiteSpace(comboBox2.Text) == true)
             * {
             *  MessageBox.Show("No se permiten campos vacios");
             * }*/
            //else
            {
                string Query = "select *from CLIENTE where [RTN/ID]= " + desc.Text + "";

                /*contactos cl = new contactos();
                 * if (cl.Buscar(Query) == false)
                 * {
                 *  MessageBox.Show("Rtn no existe");
                 * }*/
                //else
                {
                    using (SqlConnection cone = Conexion.generarConexion())
                    {
                        try
                        {
                            /*   cone.Open();
                             * string cadenasql = "insert  into FACTURA values (" + 000 + ", " + 1 + ", " + 15 + ", '2017-12-07' , " + 1 + ", " + 10 + ");";
                             * using (SqlCommand cmd = new SqlCommand(cadenasql, cone))
                             * {
                             *
                             *     cmd.Parameters.AddWithValue("@fecha", Fecha.Value.Date);
                             *
                             *     cmd.ExecuteNonQuery();
                             *     cone.Close();
                             * }*/

                            //
                            CapturarPantalla();
                            printDocument1.Print();

                            this.Hide();
                            facturas1 frm = new facturas1();
                            frm.Show();
                        }
                        catch (Exception ex)
                        {
                            MessageBox.Show(ex.ToString());
                        }
                    }
                }
            }
        }
        private void button4_Click(object sender, EventArgs e)
        {
            facturas1 frm1 = new facturas1();

            frm1.Show();
        }