public MainPage() { this.InitializeComponent(); DDExcel.Create("UWP App"); DDPdf.Create("UWP App"); }
static void Main(string[] args) { Console.WriteLine("Hello de:code 2019!"); DDExcel.Create(".NET Core Console App"); DDPdf.Create(".NET Core Console App"); }
public MainPage() { InitializeComponent(); DDExcel.Create("Xamarin.Forms App"); DDPdf.Create("Xamarin.Forms App"); }
public IActionResult OnPost() { DDExcel.Create(Name); DDPdf.Create(Name); return(Page()); }
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")); }
private void Button1_Click(object sender, EventArgs e) { DDExcel.Create("Windows Forms App (.NET Framework)"); DDPdf.Create("Windows Forms App (.NET Framework)"); }
private void Button_Click(object sender, RoutedEventArgs e) { DDExcel.Create("WPF App(.NET Core)"); DDPdf.Create("WPF App(.NET Core)"); }