使用Sharpdevelop+wpf来写一个Hello world
using
System;
using System.Windows;
namespace wpftest
{
/// <summary>
/// Description of Class1.
/// </summary>
public class Class1
{
public Class1()
{
}
[STAThread]
public static void Main()
{
Window win = new Window();
win.Title = " hello wpf " ;
win.Show();
Application app = new Application();
app.Run(win);
}
}
}
using System.Windows;
namespace wpftest
{
/// <summary>
/// Description of Class1.
/// </summary>
public class Class1
{
public Class1()
{
}
[STAThread]
public static void Main()
{
Window win = new Window();
win.Title = " hello wpf " ;
win.Show();
Application app = new Application();
app.Run(win);
}
}
}