Ejemplo n.º 1
0
        protected override void PostShutdownCore(bool shutdownHost)
        {
#if !ENABLE_DYNAMO_SCHEDULER
            IdlePromise.ClearPromises();
            IdlePromise.Shutdown();
#endif
            base.PostShutdownCore(shutdownHost);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Executes right before Dynamo closes, gives you the chance to cache whatever you might want.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void dynamoView_Closing(object sender, EventArgs e)
 {
     // cache the size of the window for later reloading
     dynamoViewX      = dynamoView.Left;
     dynamoViewY      = dynamoView.Top;
     dynamoViewWidth  = dynamoView.ActualWidth;
     dynamoViewHeight = dynamoView.ActualHeight;
     IdlePromise.ClearPromises();
     IdlePromise.Shutdown();
 }
Ejemplo n.º 3
0
 protected override void PostShutdownCore(bool shutdownHost)
 {
     IdlePromise.ClearPromises();
     IdlePromise.Shutdown();
     base.PostShutdownCore(shutdownHost);
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     Executes right before Dynamo closes, gives you the chance to cache whatever you might want.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private static void DynamoView_Closing(object sender, EventArgs e)
 {
     IdlePromise.ClearPromises();
     IdlePromise.Shutdown();
 }