コード例 #1
0
ファイル: TetGenForm.cs プロジェクト: meshdgp/MeshDGP
 private void button1_Click(object sender, EventArgs e)
 {
     TriMesh mesh = GlobalData.Instance.TriMesh;
     this.tetgen = new TetGen();
     this.tetgen.Exited += tetgen_Exited;
     this.tetgen.OutputDataReceived += tetgen_OutputDataReceived;
     this.tetgen.RunAsync(mesh, this.textBox1.Text);
     this.button1.Enabled = false;
 }
コード例 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            TriMesh mesh = GlobalData.Instance.TriMesh;

            this.tetgen                     = new TetGen();
            this.tetgen.Exited             += tetgen_Exited;
            this.tetgen.OutputDataReceived += tetgen_OutputDataReceived;
            this.tetgen.RunAsync(mesh, this.textBox1.Text);
            this.button1.Enabled = false;
        }