Example #1
0
        //private void btnCF_Click(object sender, RoutedEventArgs e)
        //{

        //    if (variableCF == false)
        //    {
        //        FMR_AUTENTICACION au = new FMR_AUTENTICACION();
        //        try
        //        {
        //            objecF.CrearFactura(idF, au.valorid);
        //            MessageBox.Show("Se ha creado una factura");



        //        }
        //        catch (Exception ex)
        //        {
        //            MessageBox.Show("No es posible crear la factura por :" + ex);

        //        }



        //    }
        //    else { MessageBox.Show("Verifique sus datos"); }

        //}

        private void btnCF_Click_1(object sender, RoutedEventArgs e)
        {
            if (variableCF == false)
            {
                FMR_AUTENTICACION    au  = new FMR_AUTENTICACION();
                ListaClientesFactura ltc = new ListaClientesFactura();
                try
                {
                    objecF.CrearFactura(ltc.VA, au.valorid);
                    MessageBox.Show("Se ha creado una factura");
                }
                catch (Exception ex)
                {
                    MessageBox.Show("No es posible crear la factura por :" + ex);
                }
            }
            else
            {
                MessageBox.Show("Verifique sus datos");
            }
        }
Example #2
0
        //private void DataGrid_Loaded(object sender, RoutedEventArgs e)
        //{
        //    MostrarDetalle();
        //}

        private void btnSel_Click_1(object sender, RoutedEventArgs e)
        {
            ListaClientesFactura listaC = new ListaClientesFactura(this);

            listaC.ShowDialog();
        }