C# - Invoke close application for Framework 3.0

Discussion in 'Programming' started by freecbc3, Oct 9, 2009.

  1. #1
    hello,

    i have develop wpf using framework 3.5, but then i decided to put based on framework 3.0.

    if in 3.5 i just can invoke using this code.
    Application.Current.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle,
    (Action)(() => Application.Current.Shutdown(0)));


    how to do in framework 3.0 ?


    thank you. sorry for my faulty english.
     
    freecbc3, Oct 9, 2009 IP