TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
win zone
NA
3
0
Incorrect display drawing graphic in PictureBox in customer pc
Feb 17 2009 2:00 AM
I used system.drawing.graphic in C# to draw the Rectangle and Ellipse in PictureBox. That PictureBox is 512x512 ratio. In my PC and other my buddy PC show the drawed graphic .
But in my customer PC, the drawing graphic not work well function and system draws many rectangles in the whole PictureBox, cannot set position.
In my customer PC, already installed .net Frame Work 2.0 (SP1) and OS is Window XP. I don't know what is missing? I write some codes in below from my project...
Pen penMi = Pens.Blue;
void DrawAllMi(Graphics g)
{
g.DrawRectangle(penMi, x1 - 4, y1 - 4, 8, 8);
g.DrawEllipse(penMi, x1 - 5, y1 - 5, 10, 10);
}
Please give me some suggestion,
Thanks.
Reply
Answers (
0
)
how to store the data in database
Pencil Tool