Пример #1
0
        private void ReplaceReference_button_Click(object sender, RoutedEventArgs e)
        {
            ReplaceReferences replaceReferences = new ReplaceReferences(inventorApp,
                                                                        specification.CasingComponent,
                                                                        specification.projectDirectory);

            replaceReferences = null;
        }
 private void ReplaceMainReferencies()
 {
     try
     {
         ReplaceReferences replaceReferences = new ReplaceReferences(inventorApp,
                                                                     mainAssembly,
                                                                     mainComponent);
         replaceReferences = null;
     }
     catch (Exception ex)
     {
         System.Windows.MessageBox.Show(ex.Message, System.Reflection.MethodBase.GetCurrentMethod().Name, MessageBoxButton.OK);
     }
 }