C# C“位图”;以下是;透明形式

C# C“位图”;以下是;透明形式,c#,forms,system.drawing,C#,Forms,System.drawing,我使用 this.BackColor = Color.Wheat; this.TransparencyKey = Color.Wheat; this.TopMost = true; 我想创建一个位图,这样我就可以使用Bitmap.GetPixel,但是我想让GetPixel坐标“跟随”窗体在屏幕上的位置, e、 g:我设置Bitmap Bitmap=new Bitmap(this.width,this.height)然后我设置Bitmap.GetPixel(400400)它会得到位图中坐标40

我使用

this.BackColor = Color.Wheat;
this.TransparencyKey = Color.Wheat;
this.TopMost = true;
我想创建一个位图,这样我就可以使用Bitmap.GetPixel,但是我想让GetPixel坐标“跟随”窗体在屏幕上的位置, e、 g:我设置
Bitmap Bitmap=new Bitmap(this.width,this.height)
然后我设置
Bitmap.GetPixel(400400)
它会得到位图中坐标400400中的像素信息,对吗?但是当我移动它时,我希望它“跟随”窗体,我希望位图跟随窗体。可能吗?
如果您不理解我希望位图跟随我的表单左右移动

因此,如果表单在屏幕上为0,0,并表示对应于位图上的400400,则用户将表单移动到屏幕上的100200,对应于位图上的500600?位图是否显示在您的表单中?是和否