private void ratioRoundedToolStripMenuItem_Click(object sender, EventArgs e) { blob = new BlobSettings(false, this); blob.ShowDialog(); mesh = new MeshSettings(this, true); this.mesh.ShowDialog(); RatioResults r = new RatioResults(); mesh.GenerateMesh("Square"); CompareToImage(true); r.SquareTime = result.time; mesh.GenerateMesh("Triangle"); CompareToImage(true); r.TriangleTime = result.time; mesh.GenerateMesh("Hexagon"); CompareToImage(true); r.HexagonTime = result.time; r.ratioRounded(); }
private void newToolStripMenuItem_Click(object sender, EventArgs e) { //Should this open the blob and mesh settings to generate the inital diagram //Then this can be tweaked later? blob = new BlobSettings(true, this); blob.ShowDialog(); }
private void blobToolStripMenuItem_Click(object sender, EventArgs e) { menuStrip1.Hide(); HideButtons(); blob = new BlobSettings(this); blob.ShowDialog(); }
private void newDiagramToCompareToolStripMenuItem_Click(object sender, EventArgs e) { BlobSettings blob = new BlobSettings(true, this); blob.ShowDialog(); }
private void blobToolStripMenuItem_Click(object sender, EventArgs e) { BlobSettings blob = new BlobSettings(); blob.ShowDialog(); }