public static void Show(List<NuGenGeometryWindowItem> info, Point loc, Size size) { Size s = TableSize(info); string[,] rows = new string[s.Height, s.Width]; int nRows = s.Height; foreach (NuGenGeometryWindowItem item in info) { rows[item.Row, item.Column] = item.Entry; } GeometryDisplayDialog dlg = new GeometryDisplayDialog(rows, nRows); dlg.Location = loc; dlg.Size = size; dlg.Show(); }
public static void Show(List <NuGenGeometryWindowItem> info, Point loc, Size size) { Size s = TableSize(info); string[,] rows = new string[s.Height, s.Width]; int nRows = s.Height; foreach (NuGenGeometryWindowItem item in info) { rows[item.Row, item.Column] = item.Entry; } GeometryDisplayDialog dlg = new GeometryDisplayDialog(rows, nRows); dlg.Location = loc; dlg.Size = size; dlg.Show(); }
private void DisplayMeasureGeometry(List <NuGenGeometryWindowItem> info) { GeometryDisplayDialog.Show(info, measureWindowPos, measureWindowSize); }
private void DisplayCurveGeometry(List <NuGenGeometryWindowItem> info) { GeometryDisplayDialog.Show(info, curveWindowPos, curveWindowSize); }