Example #1
0
File: Form1.cs Project: the455/PSPM
        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();
        }
Example #2
0
File: Form1.cs Project: the455/PSPM
 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();
 }
Example #3
0
File: Form1.cs Project: the455/PSPM
 private void blobToolStripMenuItem_Click(object sender, EventArgs e)
 {
     menuStrip1.Hide();
     HideButtons();
     blob = new BlobSettings(this);
     blob.ShowDialog();
 }
Example #4
0
File: Form1.cs Project: the455/PSPM
 private void newDiagramToCompareToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BlobSettings blob = new BlobSettings(true, this);
     blob.ShowDialog();
 }
Example #5
0
File: Form1.cs Project: the455/PSPM
 private void blobToolStripMenuItem_Click(object sender, EventArgs e)
 {
     BlobSettings blob = new BlobSettings();
     blob.ShowDialog();
 }