Click here to Skip to main content
15,916,693 members
Home / Discussions / C#
   

C#

 
AnswerRe: 3 forms - how to click button to go to each one Pin
Christian Graus5-Jun-09 16:57
protectorChristian Graus5-Jun-09 16:57 
GeneralRe: 3 forms - how to click button to go to each one Pin
johnnysmith15-Jun-09 17:07
johnnysmith15-Jun-09 17:07 
QuestionParsing "tags" in a string Pin
Quake2Player5-Jun-09 12:51
Quake2Player5-Jun-09 12:51 
AnswerRe: Parsing "tags" in a string Pin
Christian Graus5-Jun-09 14:57
protectorChristian Graus5-Jun-09 14:57 
QuestionHow To Identify Control In C# Click Event Pin
Member 44650075-Jun-09 11:52
Member 44650075-Jun-09 11:52 
AnswerRe: How To Identify Control In C# Click Event Pin
Christian Graus5-Jun-09 11:57
protectorChristian Graus5-Jun-09 11:57 
AnswerRe: How To Identify Control In C# Click Event Pin
Henry Minute5-Jun-09 12:00
Henry Minute5-Jun-09 12:00 
AnswerRe: How To Identify Control In C# Click Event [modified] Pin
I Believe In GOD5-Jun-09 12:23
I Believe In GOD5-Jun-09 12:23 
private void Frm_Load(object sender, System.EventArgs e)
{
  for (int x = 0; x < 10; x++)
  {                
   Button sb = new Button ()
   sb.Size = new Size(17, 17);
   sb.Location = new Point(x + 17, x + 17);
   sb.Visible = true;
   sb.Click += new EventHandler(sb_Click);
   Controls.Add (sb);  
  }
}
private void sb_Click(object sender , System.EventArgs e)
{
   Button sb = sender as Button;
   Console.WriteLine(sb.Text);
}


P.S : are you asking a VB.NET Question ? if so , please do this at VB.NET Forum ...
to get a closer example to your programing language

I know nothing , I know nothing ...

modified on Friday, June 5, 2009 6:30 PM

AnswerRe: How To Identify Control In C# Click Event Pin
Member 44650075-Jun-09 14:29
Member 44650075-Jun-09 14:29 
QuestionApplying a TextDecoration within a TextRange in RithcTextBox Pin
paradisonoir5-Jun-09 10:53
paradisonoir5-Jun-09 10:53 
AnswerAttempt to bump post!! Pin
Henry Minute5-Jun-09 11:55
Henry Minute5-Jun-09 11:55 
GeneralRe: Attempt to bump post!! Pin
paradisonoir9-Jun-09 13:51
paradisonoir9-Jun-09 13:51 
QuestionA Problem with Graphics object in GDI draw functions ??? Pin
magicii5-Jun-09 10:04
magicii5-Jun-09 10:04 
AnswerRe: A Problem with Graphics object in GDI draw functions ??? Pin
Henry Minute5-Jun-09 10:12
Henry Minute5-Jun-09 10:12 
AnswerRe: A Problem with Graphics object in GDI draw functions ??? Pin
ARon_5-Jun-09 11:40
ARon_5-Jun-09 11:40 
GeneralRe: A Problem with Graphics object in GDI draw functions ??? Pin
Christian Graus5-Jun-09 11:59
protectorChristian Graus5-Jun-09 11:59 
GeneralRe: A Problem with Graphics object in GDI draw functions ??? Pin
ARon_5-Jun-09 12:31
ARon_5-Jun-09 12:31 
GeneralRe: A Problem with Graphics object in GDI draw functions ??? Pin
Christian Graus5-Jun-09 14:59
protectorChristian Graus5-Jun-09 14:59 
Question[Message Deleted] Pin
hkjghkj15-Jun-09 8:50
hkjghkj15-Jun-09 8:50 
AnswerRe: Sounds Pin
Dave Kreskowiak5-Jun-09 9:56
mveDave Kreskowiak5-Jun-09 9:56 
AnswerRe: Sounds Pin
DaveyM695-Jun-09 10:23
professionalDaveyM695-Jun-09 10:23 
AnswerRe: Sounds Pin
ARon_5-Jun-09 11:22
ARon_5-Jun-09 11:22 
QuestionRichTextBox does not have string property Pin
paradisonoir5-Jun-09 8:39
paradisonoir5-Jun-09 8:39 
AnswerRe: RichTextBox does not have string property Pin
Blue_Boy5-Jun-09 9:42
Blue_Boy5-Jun-09 9:42 
AnswerRe: RichTextBox does not have string property Pin
paradisonoir5-Jun-09 9:45
paradisonoir5-Jun-09 9:45 

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.