Esempio n. 1
0
        public void InitMega(int count)
        {
            Megas = new MegaEvoEntry[count];
            MegaEvoEntry.items = items;

            for (int i = 0; i < count; i++)
            {
                var row = new MegaEvoEntry();
                flowLayoutPanel1.Controls.Add(row);
                Megas[i] = row;
            }
        }
Esempio n. 2
0
        public MegaEvoEntry[] InitMega(int count)
        {
            var result = new MegaEvoEntry[count];

            MegaEvoEntry.items = items;

            for (int i = 0; i < count; i++)
            {
                var row = new MegaEvoEntry();
                flowLayoutPanel1.Controls.Add(row);
                result[i] = row;
            }

            return(result);
        }