How to draw the different shapes in c#.net using Pen object.....
//////////////////////// CODE ////////////////////////
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace _121
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void panel1_Click(object sender, EventArgs e)
{
Pen p = new Pen(Color.Blue, 5);
Graphics g = panel1.CreateGraphics();
g.DrawRectangle(p,22,22,22,22);
}
}
}
///////////////////// OUTPUT /////////////////////////
--
/\/ir@\/ <(.'.)>
c code for SPI calculation
How to change name of start button in xp
how to crack IDM
how to connect to facebook without Internet connec...
Wednesday, 16 January 2013
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment
Thanks for comment