예제 #1
0
        protected override void ChangeElementDataInGrid(int elementID, int row)
        {
            IMacroCommand c = (IMacroCommand)m_Container.GetElements()[row].InnerElement;

            elementsGrid.Rows[row].Cells[0].Value = c.DisplayDescription(m_Project);
            elementsGrid.Rows[row].Cells[1].Value = c.Condition.DisplayDescription(m_Project);
        }
예제 #2
0
        protected override void AddElementToGrid(IContainerElement element)
        {
            IMacroCommand c = (IMacroCommand)element.InnerElement;

            elementsGrid.Rows.Add(new object[] { c.DisplayDescription(m_Project), c.Condition.DisplayDescription(m_Project) });
        }