for (int i = 1; i < n; i++) { if (max_x < MK[i].x) max_x = MK[i].x; if (min_x > MK[i].x) min_x = MK[i].x; if (max_y < MK[i].y) max_y = MK[i].y; if (min_y < MK[i].y) min_y = MK[i].y; } if (max_x > max_y) max = max_x; else max = max_y; if (min_x < min_y) min = min_x; else min = min_y; double k1 = max - min, mkk = PicBox.Width - 100;
float Mkk = (float)mkk +100;
koef = mkk / k1; //mkk Image1 ning o'lchami myPen.Width = 1; myPen.Color = Color.Blue; Brush myBrush = new SolidBrush(myPen.Color); PointF[] nuqta = new PointF[4]; Font font = new Font(FontFamily.GenericSerif, 10); float x, y;