开发者

puremvc on winform?

I cannot find any mvc framework that can cover both the web and the desktop, mobile (including iphone) except puremvc. It seems great for Winform

http://www.pathf.com/blogs/2009/07/winforms-development-made-simple-with-puremvc/

But apart from samples for silverlight, I cannot find a real example for Winform just a 10 line snippet.

I cannot ask on their forum it seems one cannot register at the moment.

Could someone could give a sample with all parts that is a bit more elaborate than just startup in main:

http://forums.puremvc.org/index.php?topic=129.0;prev_next=next

/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
    try
    {
        Application.SetCompatibleTextRenderingDefault(false);
        MainForm mf = new MainForm(args);
        ApplicationFacade facade = (ApplicationFacade) ApplicationFacade.Instance;
        facade.Startup(mf);
        Application.Run(mf);
    }
    catch (Exception ex)
    {
        // Log some errors, sh开发者_开发问答ow message box, etc.
    }
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜