//19Feb2013 For closing mainwindow which should close child and each child should ask for "save". This is not working this way. private void GracefulExit() { Window1 mwindow = LifetimeService.Instance.Container.Resolve <Window1>(); mwindow.IsException = true; mwindow.Close(); }
//19Feb2013 For closing mainwindow which should close child and each child should ask for "save". This is not working this way. private void GracefulExit() { System.Windows.Input.Mouse.OverrideCursor = null;//make mouse free Window1 mwindow = LifetimeService.Instance.Container.Resolve <Window1>(); mwindow.IsException = true; mwindow.Close(); }