private void buttonEditScreenshot_Click(object sender, EventArgs e) { SaveScreenshot ss = new SaveScreenshot(pbScreenshot.Image); ss.FormClosed += new FormClosedEventHandler(Edit_Closed); ss.Show(); }
private void btnCaptureThis_Click(object sender, EventArgs e) { this.Hide(); SaveScreenshot save = new SaveScreenshot(this.Location.X, this.Location.Y, this.Width, this.Height, this.Size); save.ShowDialog(); this.Hide(); }