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); } } }
public AFrmCogPMAlign(APMAlign aPMAlign) { InitializeComponent(); cogPMAlignEditV2.Subject = aPMAlign.GetTool(); }
public void Remove(APMAlign aPMAlign) { m_aPMAlign = aPMAlign; m_lstAPMAlign.Remove(m_aPMAlign); RemoveTool(m_aPMAlign.GetTool()); }
public void Add(APMAlign aPMAlign) { m_aPMAlign = aPMAlign; m_lstAPMAlign.Add(m_aPMAlign); AddTool(m_aPMAlign.GetTool()); }