예제 #1
0
        private void buttonGenerateFractal_Click(object sender, EventArgs e)
        {
            GenerateFractal gf = new GenerateFractal(mainForm, neededSquare);

            gf.Show();
            this.Close();
        }
예제 #2
0
        private void CallFractalMaker()
        {
            Console.WriteLine("Need to hide " + estimatedBytes + " estimated bytes");

            int pixelsNeeded = estimatedBytes * 2;
            int SquareSize   = (int)Math.Sqrt(pixelsNeeded) + 16; // Extra 16 for the Initialization Vector

            GenerateFractal gf = new GenerateFractal(this, SquareSize);

            gf.ShowDialog();
            buttonHideFile.Enabled = true;
            hideFileInImageToolStripMenuItem.Enabled = true;
        }