Beispiel #1
0
        private void initializare_producatori()
        {
            Producator p1 = new Producator(100, "APPLE");
            Producator p2 = new Producator(211, "SAMSUNG");
            Producator p3 = new Producator(121, "LG");
            Producator p4 = new Producator(324, "SONY");
            Producator p5 = new Producator(123, "NEXUS");
            Producator p6 = new Producator(110, "GOOGLE");

            this.producatori.Add(p1);
            this.producatori.Add(p2);
            this.producatori.Add(p3);
            this.producatori.Add(p4);
            this.producatori.Add(p5);
            this.producatori.Add(p6);
        }
Beispiel #2
0
 public Form2()
 {
     this.prod = new Producator();
     InitializeComponent();
 }