frmMaingame.picscreen.width
and i'd have the controls width. I searched google and was able to make a public property. So i did but I'm not sure where to put it. Here is the property I have made.
public Panel panel
{
get { return picGeneral; }
set { picGeneral = value; }
}
public PictureBox pic
{
get { return picscreen; }
set { picscreen = value; }
}
would i put that in the code for the form or would i add that to my Graphics.cs file?

New Topic/Question
Reply



MultiQuote






|