Exemple #1
0
        private void menuScreenshot_Activate(object sender, EventArgs e)
        {
            //Create our screenshot form.
            ScreenshotForm screenCapForm = new ScreenshotForm();

            //Set it's mdi parent as this
            screenCapForm.MdiParent = this;
            //Show the form
            screenCapForm.Show();
        }
Exemple #2
0
        private void screenshotToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            //Create our screenshot form.
            ScreenshotForm screenCapForm = new ScreenshotForm();

            //Set it's mdi parent as this
            screenCapForm.MdiParent = this;
            //Show the form
            screenCapForm.Show();
        }
        private void buttonX7_Click(object sender, EventArgs e)
        {
            //Initialize our screenshot form
            ScreenshotForm ssf = new ScreenshotForm();

            //Set it's mdi parent
            ssf.MdiParent = this.MdiParent;

            //Show it
            ssf.Show();
        }