コード例 #1
0
        protected override void PostShutdownCore(bool shutdownHost)
        {
#if !ENABLE_DYNAMO_SCHEDULER
            IdlePromise.ClearPromises();
            IdlePromise.Shutdown();
#endif
            base.PostShutdownCore(shutdownHost);
        }
コード例 #2
0
ファイル: DynamoRevit.cs プロジェクト: Sean-Nguyen/Dynamo
 /// <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();
 }
コード例 #3
0
ファイル: RevitDynamoModel.cs プロジェクト: whztt07/Dynamo
 protected override void PostShutdownCore(bool shutdownHost)
 {
     IdlePromise.ClearPromises();
     IdlePromise.Shutdown();
     base.PostShutdownCore(shutdownHost);
 }
コード例 #4
0
ファイル: DynamoRevit.cs プロジェクト: vic-kailiu/Dynamo
 /// <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();
 }