예제 #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();
        }
예제 #2
0
파일: Main.cs 프로젝트: A267-dev/Alteration
        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();
        }