Exemplo n.º 1
0
        public void Clear()
        {
            TtabItemAnimalMotiveItem newItem = new TtabItemAnimalMotiveItem(item.Parent);

            newItem.CopyTo(item);
            setText();
        }
Exemplo n.º 2
0
        public TtabAnimalMotiveWiz()
        {
            InitializeComponent();

            TtabSingleMotiveUI[] m =
            {
                ttabSingleMotiveUI1,  ttabSingleMotiveUI2,  ttabSingleMotiveUI3,  ttabSingleMotiveUI4,
                ttabSingleMotiveUI5,  ttabSingleMotiveUI6,  ttabSingleMotiveUI7,  ttabSingleMotiveUI8,
                ttabSingleMotiveUI9,  ttabSingleMotiveUI10, ttabSingleMotiveUI11, ttabSingleMotiveUI12,
                ttabSingleMotiveUI13, ttabSingleMotiveUI14, ttabSingleMotiveUI15, ttabSingleMotiveUI16,
            };
            mUI = m;

            item = new TtabItemAnimalMotiveItem(null);
            for (int i = 0; i < m.Length; i++)
            {
                item.Add(new TtabItemSingleMotiveItem(null));
                m[i].Motive = item[i];
            }
            nrItems = -1;
            Count   = 0;
        }