|
@@ -1563,6 +1563,16 @@ namespace OTSIncAReportGraph.Controls
|
|
|
m_backrectf = new RectangleF(m_backrectf.X - offex_p.X, m_backrectf.Y - offex_p.Y,
|
|
|
m_backrectf.Width, m_backrectf.Height);
|
|
|
|
|
|
+
|
|
|
+ for (int i =0;i< m_list_dfield.Count;i++)
|
|
|
+ {
|
|
|
+ RectangleF dField = m_list_dfield[i].Current_Rect;
|
|
|
+ dField.X = dField.X-offex_p.X;
|
|
|
+ dField.Y = dField.Y - offex_p.Y;
|
|
|
+ m_list_dfield[i].Current_Rect = dField;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
Invalidate();
|
|
|
}
|
|
|
|
|
@@ -1901,7 +1911,6 @@ namespace OTSIncAReportGraph.Controls
|
|
|
Size size = new Size();
|
|
|
string ImageName = originalImageNames[i].ToString();
|
|
|
Image Image = originalImages[i];
|
|
|
-
|
|
|
string result = System.Text.RegularExpressions.Regex.Replace(ImageName, @"[^0-9]+", "");
|
|
|
size.Height = (int)m_list_dfield[Convert.ToInt32(result)].Current_Rect.Height;
|
|
|
size.Width = (int)m_list_dfield[Convert.ToInt32(result)].Current_Rect.Width;
|
|
@@ -1915,7 +1924,6 @@ namespace OTSIncAReportGraph.Controls
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
#endregion
|
|
|
|