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();
        }
예제 #2
0
        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();
        }
예제 #3
0
 private void DisplayMeasureGeometry(List <NuGenGeometryWindowItem> info)
 {
     GeometryDisplayDialog.Show(info, measureWindowPos, measureWindowSize);
 }
예제 #4
0
 private void DisplayCurveGeometry(List <NuGenGeometryWindowItem> info)
 {
     GeometryDisplayDialog.Show(info, curveWindowPos, curveWindowSize);
 }