Пример #1
0
        public override void StartCommand()
        {
            base.StartCommand();

            base.SubscribeToEvent(Interaction.InteractionTypeEnum.kSelection);

            //initialize interaction previewgraphics objects

            //create and display the dialog
            m_editCavityLibrary = new EditCavityLibrary(m_inventorApplication, this);
            if (m_editCavityLibrary != null)
            {
                m_editCavityLibrary.Activate();
                m_editCavityLibrary.TopMost       = true;
                m_editCavityLibrary.ShowInTaskbar = false;
                m_editCavityLibrary.Show();
                m_editCavityLibrary.tb1.Text = deFaultpath;
                AddInformation();
            }
            m_selectEvents.Enabled = false;
            //EnableInteraction();
        }
Пример #2
0
 private void ModifyCavity_FormClosed(object sender, FormClosedEventArgs e)
 {
     m_EditCavityLibrary.Show();
 }