Example #1
0
        private void selecctorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Seleccion elementoContable = new Seleccion(this);

            elementoContable.Show();
            this.Hide();
        }
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     if (!this.conexion.hayFechaLimite())
     {
         FechaMaxMin fecha = new FechaMaxMin(this.padre);
         fecha.Show();
         this.Hide();
     }
     else
     {
         Seleccion elementoContable = new Seleccion(this.padre);
         elementoContable.Show();
         this.Hide();
     }
 }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            DateTime min      = this.dateMin.Value;
            DateTime max      = this.dateMax.Value;
            Conexion conexion = new Conexion();

            conexion.guardarLimites(min.ToString(), max.ToString());



            Seleccion seleccion = new Seleccion(padre);

            seleccion.Show();
            this.Hide();
        }
        private void menu_abirLibroDiario(object sender, EventArgs e)
        {
            Conexion conexion = new Conexion();

            if (!conexion.hayFechaLimite())
            {
                FechaMaxMin fecha = new FechaMaxMin(this.padre);
                fecha.Show();
                this.Hide();
            }
            else
            {
                Seleccion elementoContable = new Seleccion(this.padre);
                elementoContable.Show();
                this.Hide();
            }
        }
Example #5
0
        private void abrirLibroDiario(object sender, EventArgs e)
        {
            Conexion conexion = new Conexion();

            if (!conexion.hayFechaLimite())
            {
                FechaMaxMin fecha = new FechaMaxMin(this);
                fecha.Show();
                this.Hide();
            }
            else
            {
                Seleccion seleccion = new Seleccion(this);
                seleccion.Show();
                this.Hide();
            }
        }