示例#1
0
文件: Form1.cs 项目: floatint/2att_1
 public Form1()
 {
     InitializeComponent();
     SourceGridMatrix = new GridViewMatrix(dataGridView1);
     ResultGridMatrix = new GridViewMatrix(dataGridView3);
     //GridViewMatrix m = new GridViewMatrix(dataGridView1);
     //int[,] j = new int[,] { {50,12, 10}, {50,50, 0}, {50,50, 50} };
     //int[,] r = null;
     //MatrixTools h = new MatrixTools(j);
     //h.GetNeighboursMatrix(out r);
     //MessageBox.Show(MatrixUtils.MatrixToStr(r));
 }
示例#2
0
 public Form1()
 {
     InitializeComponent();
     gv = new GridViewMatrix(dataGridView1);
 }