Ejemplo n.º 1
0
        public MainPage()
        {
            this.InitializeComponent();

            DDExcel.Create("UWP App");

            DDPdf.Create("UWP App");
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello de:code 2019!");

            DDExcel.Create(".NET Core Console App");

            DDPdf.Create(".NET Core Console App");
        }
Ejemplo n.º 3
0
        public MainPage()
        {
            InitializeComponent();

            DDExcel.Create("Xamarin.Forms App");

            DDPdf.Create("Xamarin.Forms App");
        }
Ejemplo n.º 4
0
        public IActionResult OnPost()
        {
            DDExcel.Create(Name);

            DDPdf.Create(Name);

            return(Page());
        }
Ejemplo n.º 5
0
        public static async Task <IActionResult> Run(
            [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req,
            ILogger log)
        {
            log.LogInformation("C# HTTP trigger function processed a request.");

            string name = req.Query["name"];

            string  requestBody = await new StreamReader(req.Body).ReadToEndAsync();
            dynamic data        = JsonConvert.DeserializeObject(requestBody);

            name = name ?? data?.name;

            DDExcel.Create(name);

            DDPdf.Create(name);


            return(name != null
                ? (ActionResult) new OkObjectResult($"Hello, {name}")
                : new BadRequestObjectResult("Please pass a name on the query string or in the request body"));
        }
Ejemplo n.º 6
0
        private void Button1_Click(object sender, EventArgs e)
        {
            DDExcel.Create("Windows Forms App (.NET Framework)");

            DDPdf.Create("Windows Forms App (.NET Framework)");
        }
Ejemplo n.º 7
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            DDExcel.Create("WPF App(.NET Core)");

            DDPdf.Create("WPF App(.NET Core)");
        }