コード例 #1
0
        public override void StartCommand()
        {
            base.StartCommand();

            base.SubscribeToEvent(Interaction.InteractionTypeEnum.kSelection);

            m_cavityLibraryEditForm = new CavityLibraryEditForm(this);

            if (m_cavityLibraryEditForm != null)
            {
                m_cavityLibraryEditForm.Activate();
                m_cavityLibraryEditForm.TopMost       = true;
                m_cavityLibraryEditForm.ShowInTaskbar = false;
                m_cavityLibraryEditForm.Show();
                m_cavityLibraryEditForm.Text     = "修改元件";
                m_cavityLibraryEditForm.tb1.Text = deFaultpath;
                AddInformation();
            }
        }
コード例 #2
0
 private void CavityLibraryEditDataForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     m_cavityLibraryEditForm.Show();
 }