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
arjun
NA
3
0
drawing a rectangle
Nov 24 2008 6:27 PM
hi all, i've tried to draw a rectangle using this code: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { Rectangle rect = new Rectangle(0, 0, 100, 100); Brush brush = new SolidBrush(Color.Blue); Pen pen = new Pen(brush, 5); Graphics graphicsObj; graphicsObj = this.CreateGraphics(); graphicsObj.DrawRectangle(pen, 0, 0, 50, 50); } } } [/code] pls get me to draw the rectangle..
Reply
Answers (
1
)
add test script and/or set default test script
problem records insertion through asp.net