Exemplo n.º 1
0
 internal void InitializeOwner(object parameter)
 {
     RelationInfo = SplashScreenHelper.FindParameter <WindowContainer>(parameter, null).Return(x => x.CreateOwnerContainer(), null)
                    ?? SplashScreenHelper.FindParameter <WindowRelationInfo>(parameter, null);
     Owner = RelationInfo.With(x => x.Parent);
     RelationInfo.Do(x => x.AttachChild(SplashScreen, false));
 }
Exemplo n.º 2
0
 internal void ReleaseResources()
 {
     Owner = null;
     RelationInfo.Do(x => x.Release());
     RelationInfo         = null;
     SplashScreen.Content = null;
     SplashScreen         = null;
     InternalThread       = null;
 }
Exemplo n.º 3
0
                internal void ReleaseResources()
                {
                    Callbacks.Dispose();
                    Callbacks  = null;
                    Owner      = null;
                    Dispatcher = null;
                    RelationInfo.Do(x => x.Release());
                    RelationInfo         = null;
                    SplashScreen.Content = null;
                    SplashScreen         = null;
                    InternalThread       = null;
#if DEBUGTEST || DEBUG
                    WaitEvent = null;
#endif
                }
Exemplo n.º 4
0
                internal void ReleaseResources()
                {
                    InternalThread = null;
                    Callbacks.Dispose();
                    Callbacks  = null;
                    Owner      = null;
                    Dispatcher = null;
                    RelationInfo.Do(x => x.Release());
                    RelationInfo         = null;
                    SplashScreen.Content = null;
                    SplashScreen         = null;
#if DEBUGTEST || DEBUG
                    WaitEvent = null;
                    if (closingTask != null && !closingTask.Task.IsCompleted)
                    {
                        closingTask.SetResult(true);
                    }
#endif
                }