D
deciacco
What's wrong with this code?
It runs, but nothing happends.
Thanks!
***************************************************
using System;
using System.Collections.Generic;
using System.Text;
namespace DilbertADay
{
class Program
{
static void Main(string[] args)
{
DailyDilbert.DailyDilbert wsDd = new DilbertADay.DailyDilbert.DailyDilbert();
wsDd.DailyDilbertImageCompleted += new DilbertADay.DailyDilbert.DailyDilbertImageCompletedEventHandler(DailyDilbertImageCompleted_Handler);
wsDd.DailyDilbertImagePathAsync();
}
static void DailyDilbertImageCompleted_Handler(object sender, DilbertADay.DailyDilbert.DailyDilbertImageCompletedEventArgs args)
{
Console.Write(System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory));
}
}
}
***************************************************
It runs, but nothing happends.
Thanks!
***************************************************
using System;
using System.Collections.Generic;
using System.Text;
namespace DilbertADay
{
class Program
{
static void Main(string[] args)
{
DailyDilbert.DailyDilbert wsDd = new DilbertADay.DailyDilbert.DailyDilbert();
wsDd.DailyDilbertImageCompleted += new DilbertADay.DailyDilbert.DailyDilbertImageCompletedEventHandler(DailyDilbertImageCompleted_Handler);
wsDd.DailyDilbertImagePathAsync();
}
static void DailyDilbertImageCompleted_Handler(object sender, DilbertADay.DailyDilbert.DailyDilbertImageCompletedEventArgs args)
{
Console.Write(System.Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory));
}
}
}
***************************************************