예제 #1
0
        static void Main(string[] args)
        {
            clsClientesConContacto cliente = new clsClientesConContacto(0, "Marcos Hernandez",
                                                                        "001",
                                                                        "HEHM",
                                                                        1, "Marcos Hernandez",
                                                                        "23333", "", "*****@*****.**",
                                                                        "Av TIGRE", "119", "",
                                                                        "La Cueva del Jaguar",
                                                                        "Tuxtla Gutierrez",
                                                                        "Chiapas", "29096");

            intSalidas Impresion;
            string     cadena = Console.ReadLine();

            if (cadena == "1")
            {
                Impresion = new clsImpresion();
            }
            else
            {
                Impresion = new clsArchivos();
            }
            Impresion.ImprimeCliente(cliente);
        }
예제 #2
0
        public static void Main(string[] args)
        {
            clsClientoConContasto cliente = new clsClientoConContasto(0, "Enrique", "1234", "ni idea", 3, "04123555187", "04123555187", "04121594525", "*****@*****.**", "Miranda", "ninguno", "ninguno", "ni idea", "libertador", "Aragua", "2117");

            clsImpresion Impresion = new clsImpresion();

            Impresion.ImprimeCliente(cliente);
        }
예제 #3
0
        static void Main(string[] args)
        {
            clsClientesConContacto cliente = new clsClientesConContacto(0, "Lamiae EL Wahabi",
                                                                        "001", "HERM",
                                                                        1, "Lamiae EL Wahabi",
                                                                        "627263524", "", "*****@*****.**", "Calle tomas rullan", "119",
                                                                        "", "La cueva del jaguer", "Palma", "Son Gotleu", "07008");
            //Instanciar  el objeto impresion de la interfaz
            intSalidas Impresion;
            string     cadena = Console.ReadLine();

            if (cadena == "1")
            {
                Impresion = new clsImpresion();
            }
            else
            {
                Impresion = new clsArchivos();
            }
            Impresion.ImprimeCliente(cliente);
        }