Exemplo n.º 1
0
 /// <summary>
 /// Handles MDL UNLOAD requests after the application has been unloaded.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void AIT_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
     foreach (var process in Process.GetProcessesByName(aitProcessName))
     {
         process.Kill();
     }
 }
Exemplo n.º 2
0
 private void PDIWT_MS_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
 }
Exemplo n.º 3
0
 private void AddInMain_UnloadedEvent(Bentley.MicroStation.AddIn sender, UnloadedEventArgs eventArgs)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// 将程序集从 MS 中的 DefaultAppDomain 或者 用户指定的自定义 AppDomain 中卸载。
 /// Handles MDL UNLOAD requests after the application has been unloaded.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void PowerCivilAddin1_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
     MessageBox.Show(@"ProgramTest Unloaded");
     //TODO: add specific handling For this Event here
 }
Exemplo n.º 5
0
 private void CppAddinTest_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
 }
Exemplo n.º 6
0
 private void PDIWT_PiledWharf_Main_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
 }
Exemplo n.º 7
0
 private void $safeprojectname$_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
 }
Exemplo n.º 8
0
 private void BentleyTrain01_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
 }
Exemplo n.º 9
0
 /// <summary>
 /// Handles MDL UNLOAD requests after the application has been unloaded.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void NetworkDesigner_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
     //TODO: add specific handling For this Event here
 }
Exemplo n.º 10
0
 public void Handle(UnloadedEventArgs message)
 {
     _dialog.Dispatcher.BeginInvoke(new Action(() => SaveState(_dialog)));
     _dialog.Dispatcher.BeginInvokeShutdown(DispatcherPriority.ApplicationIdle);
 }
Exemplo n.º 11
0
 /// <summary>
 /// Handles MicroStation UNLOADED event.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void $safeprojectname$_UnloadedEvent(BM.AddIn sender, UnloadedEventArgs eventArgs)
 {
     //TODO: add specific handling for this event here
 }