Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to make a program like Paint with C# Pin
Luc Pattyn25-Apr-09 6:23
sitebuilderLuc Pattyn25-Apr-09 6:23 
GeneralRe: How to make a program like Paint with C# Pin
MohammedMahmoud25-Apr-09 6:29
MohammedMahmoud25-Apr-09 6:29 
GeneralRe: How to make a program like Paint with C# Pin
Luc Pattyn25-Apr-09 6:33
sitebuilderLuc Pattyn25-Apr-09 6:33 
GeneralRe: How to make a program like Paint with C# Pin
MohammedMahmoud25-Apr-09 6:48
MohammedMahmoud25-Apr-09 6:48 
GeneralRe: How to make a program like Paint with C# Pin
MohammedMahmoud25-Apr-09 6:58
MohammedMahmoud25-Apr-09 6:58 
GeneralRe: How to make a program like Paint with C# Pin
Luc Pattyn25-Apr-09 7:02
sitebuilderLuc Pattyn25-Apr-09 7:02 
GeneralRe: How to make a program like Paint with C# Pin
MohammedMahmoud25-Apr-09 8:04
MohammedMahmoud25-Apr-09 8:04 
GeneralRe: How to make a program like Paint with C# Pin
Luc Pattyn25-Apr-09 8:21
sitebuilderLuc Pattyn25-Apr-09 8:21 
private int x = 0;
private int y = 0;
private int width = 200;
private int height = 100;
private Pen pen=Pens.Black;

public myForm() {
    InitializeComponents();
    Panel p=new Panel();
    Panel.Bounds=...;
    Controls.Add(p);
    p.Paint+=paintHandler;
    ...
}

private void paintHandler(object sender, PaintEventArgs e) {
    Graphics g=e.Graphics;
    g.DrawEllipse(pen, x, y, width, height);
}


That is all you are going to get.
Read some articles, or better yet buy and study a book on C#.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in


GeneralRe: How to make a program like Paint with C# Pin
MohammedMahmoud25-Apr-09 8:33
MohammedMahmoud25-Apr-09 8:33 
GeneralRe: How to make a program like Paint with C# Pin
Luc Pattyn25-Apr-09 8:48
sitebuilderLuc Pattyn25-Apr-09 8:48 
GeneralRe: How to make a program like Paint with C# Pin
MohammedMahmoud25-Apr-09 8:54
MohammedMahmoud25-Apr-09 8:54 
GeneralRe: How to make a program like Paint with C# Pin
fly90425-Apr-09 9:15
fly90425-Apr-09 9:15 
GeneralRe: How to make a program like Paint with C# Pin
Christian Graus25-Apr-09 11:30
protectorChristian Graus25-Apr-09 11:30 
QuestionProperties error in C# Pin
gopinathtamil25-Apr-09 5:39
gopinathtamil25-Apr-09 5:39 
AnswerRe: Properties error in C# Pin
Luc Pattyn25-Apr-09 5:48
sitebuilderLuc Pattyn25-Apr-09 5:48 
Questionwpf listview row click Pin
netDeveloper25-Apr-09 5:06
netDeveloper25-Apr-09 5:06 
AnswerRe: wpf listview row click Pin
netDeveloper25-Apr-09 6:31
netDeveloper25-Apr-09 6:31 
Questionweb apllication quiz Pin
rudykaka25-Apr-09 4:41
rudykaka25-Apr-09 4:41 
AnswerRe: Web Application Quiz Pin
fly90425-Apr-09 4:56
fly90425-Apr-09 4:56 
GeneralRe: Web Application Quiz Pin
rudykaka26-Apr-09 3:33
rudykaka26-Apr-09 3:33 
GeneralRe: Web Application Quiz Pin
fly90426-Apr-09 3:47
fly90426-Apr-09 3:47 
GeneralRe: Web Application Quiz Pin
rudykaka27-Apr-09 5:59
rudykaka27-Apr-09 5:59 
GeneralRe: Web Application Quiz Pin
fly90427-Apr-09 6:25
fly90427-Apr-09 6:25 
GeneralRe: Web Application Quiz Pin
rudykaka27-Apr-09 11:00
rudykaka27-Apr-09 11:00 
AnswerRe: web apllication quiz Pin
ali_reza_zareian25-Apr-09 5:02
ali_reza_zareian25-Apr-09 5:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.