现在眼镜店有个 各度数镜片数量控制(winform 的)
如下:
屈/散 0 1 2 3 4....1000
      1
      2
      ...
      1000
上面是个表格,xy轴各焦点需要输入数量
用什么做,我用ListVIew整出来不让输入。并且窗体大的很。能不能出现滚动条之类的东西?

解决方案 »

  1.   

    http://hi.baidu.com/zhezhe101/blog/item/0f5de7f82286db08d9f9fd8f.html
      

  2.   

    那你用Dundas Chart for .NET  
      

  3.   

    还有就是 X轴 0的左边 y轴 0的上边 空出个位置,写 “屈/散” 不会写
    要不就在上面拉个label 写个提示。
      

  4.   

    就是用的它
    取值: string value = "X:{0},Y:{1},Count:{2}";
                for (int i = 0; i < this.dataGridViewX1.Rows.Count; i++)
                {
                    for (int j = 0; j < dataGridViewX1.Columns.Count; j++)
                    {
                        object ojb = this.dataGridViewX1.Rows[i].Cells[j].Value;
                        object x = this.dataGridViewX1.Columns[j].HeaderText;
                        object y = i * 25;
                        if (ojb != null && ojb.ToString() != "")
                        {
                            MessageBox.Show(String.Format(value, x, y, ojb));
                        }
                    }
                }结贴了。