for (int i = 0; i < Metode.DESCHIDERI.Length; i++) { int j = Metode.DESCHIDERI[i]; p2 = new Point((marginiDeschideri[j * 2].X+marginiDeschideri[j*2+1].X)/2, p1.Y); Point pp1 = p1; Point pp2 = new Point(p2.X + Convert.ToInt16(LSUPRA), p2.Y); if ((pp1.X - pp2.X) > L) { gbmp.Dispose(); this.Close(); } else { gbmp.DrawLine(myPen, pp1, pp2); if (s == 0) s = 10; else s = -10; p1 = new Point(p2.X - Convert.ToInt16(LSUPRA), p2.Y + s); } }
gbmp
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)