Exemple #1
0
        public APMAligns(CogToolGroup cogtg)
        {
            m_cogtg = cogtg;

            if (m_cogtg != null)
            {
                for (int i = 0; i < m_cogtg.Tools.Count; ++i)
                {
                    m_aPMAlign = new APMAlign(m_cogtg.Tools[i]);
                    m_lstAPMAlign.Add(m_aPMAlign);
                }
            }
        }
Exemple #2
0
 public AFrmCogPMAlign(APMAlign aPMAlign)
 {
     InitializeComponent();
     cogPMAlignEditV2.Subject = aPMAlign.GetTool();
 }
Exemple #3
0
 public void Remove(APMAlign aPMAlign)
 {
     m_aPMAlign = aPMAlign;
     m_lstAPMAlign.Remove(m_aPMAlign);
     RemoveTool(m_aPMAlign.GetTool());
 }
Exemple #4
0
 public void Add(APMAlign aPMAlign)
 {
     m_aPMAlign = aPMAlign;
     m_lstAPMAlign.Add(m_aPMAlign);
     AddTool(m_aPMAlign.GetTool());
 }