Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Factura      fx  = new Factura(Convert.ToInt32(txtSecuencia.Text), txtCedula.Text);
            PanelReporte pos = new PanelReporte();

            pos.PosicionPanel.X = float.Parse(textBox1.Text);
            pos.PosicionPanel.Y = float.Parse(textBox2.Text);
            fx.GenerarPDF("Prueba", pos);//, , float.Parse(textBox3.Text), float.Parse(textBox4.Text));

            Configuraciones.Set("x", textBox1.Text);
            Configuraciones.Set("y", textBox2.Text);
            Configuraciones.Set("x2", textBox3.Text);
            Configuraciones.Set("y2", textBox4.Text);
        }