Exemplo n.º 1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Desen        = this.CreateGraphics();
     Creion_negru = new System.Drawing.Pen(System.Drawing.Color.Black);
     cerc1        = new Cerc();
     cerc2        = new Cerc();
     cerc3        = new Cerc();
     cerc1.Initializare_cerc(70, 100, 120);
     cerc2.Initializare_cerc(220, 40, 150);
     cerc3.Initializare_cerc(200, 200, 50);
 }
Exemplo n.º 2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Desen          = this.CreateGraphics();
     Creion_negru   = new System.Drawing.Pen(System.Drawing.Color.Black);
     Pensula_neagra = new System.Drawing.SolidBrush(System.Drawing.Color.Black);
     cerc1          = new Cerc();
     cerc2          = new Cerc();
     cerc3          = new Cerc();
     cerc1.Initializare_cerc(100, 60, 130);
     cerc2.Initializare_cerc(300, 100, 100);
     cerc3.Initializare_cerc(270, 190, 50);
 }