我希望鼠标放在一个图片上然后弹出一格窗口,但不知如何定位这个弹出窗口,请问form中到底哪个属性是定位窗口位置的,为什么我每次弹出的窗口位置都不同?
我是这样做的:
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(225)));
this.ClientSize =sz;
this.Location=pt;
this.Controls.Add(this.pb_image);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;


this.Name = "PopForm";
this.Text = "PopForm";
this.MouseLeave+=new EventHandler(PopForm_MouseLeave);
this.ResumeLayout(true);