private void mainPictureBox_Click(object sender, MouseEventArgs e) { _formLogic.Click(new Point(e.X, e.Y)); this.mainPictureBox.Image = directBitmap.Bitmap; }