Пример #1
0
        private void button8_Click(object sender, EventArgs e)
        {
            NuevoEnvio add  = new NuevoEnvio();
            int        cod  = int.Parse(txt_EnviarCod2.Text);
            int        cod1 = int.Parse(txt_ClienteCod.Text);

            add.ex3(cod1, cod);
        }
Пример #2
0
        private void bt_nuevo_Click(object sender, EventArgs e)
        {
            NuevoEnvio add   = new NuevoEnvio();
            int        cod   = int.Parse(txt_CodEnvio.Text);
            float      costo = float.Parse(txt_EnvioCosto.Text);
            string     dire  = "" + txtEstado.Text + ", " + txtMunicipio.Text + ", " + txtLocalidad.Text + ", " + txtdatosextra.Text;

            add.ex1(cod, dire, costo);
        }
Пример #3
0
        private void button5_Click(object sender, EventArgs e)
        {
            NuevoEnvio add    = new NuevoEnvio();
            int        numras = int.Parse(txt_NumRastre.Text);
            int        cod    = int.Parse(txt_CodEnvio1.Text);
            string     fecha1 = "" + txt_ano.Text + "-" + txt_mes.Text + "-" + txt_dia.Text + " " + txt_hora.Text + ":" + txt_min.Text + ":" + txt_seg.Text;
            string     fecha2 = "" + txt_ano1.Text + "-" + txt_mes1.Text + "-" + txt_dia1.Text + " " + txt_hora1.Text + ":" + txt_min1.Text + ":" + txt_seg1.Text;

            add.ex2(numras, cod, fecha1, fecha2);
        }