private void Form1_Load(object sender, EventArgs e) { desen = this.CreateGraphics(); creion_albastru = new System.Drawing.Pen(System.Drawing.Color.Blue); creion_rosu = new System.Drawing.Pen(System.Drawing.Color.Red); radiera = new System.Drawing.SolidBrush(this.BackColor); nr = new System.Random(); instr = new afisor_xt(); instr.init_ins(10, 10, np * 10, 200, v_max); }
private void Form1_Load(object sender, EventArgs e) { Array.Resize(ref valori, n_maxx + 1); desen = this.CreateGraphics(); creion_albastru = new System.Drawing.Pen(System.Drawing.Color.Blue); creion_rosu = new System.Drawing.Pen(System.Drawing.Color.Red); creion_pic = new System.Drawing.Pen(this.BackColor); creion_gri_d = new System.Drawing.Pen(System.Drawing.Color.LightGray); creion_gri = new System.Drawing.Pen(System.Drawing.Color.Gray); radiera = new System.Drawing.SolidBrush(this.BackColor); afisor_xt1 = new afisor_xt(); afisor_xt1.init_ins(pozx, pozy, n_maxx, n_maxy); }