Click here to Skip to main content
16,005,038 members
Home / Discussions / C#
   

C#

 
GeneralRe: webBrowser control question Pin
chaiguy133727-Aug-08 4:58
chaiguy133727-Aug-08 4:58 
QuestionDrag and drop datacell within the GridView Pin
Mukund Thakkar27-Aug-08 2:52
Mukund Thakkar27-Aug-08 2:52 
AnswerRe: Drag and drop datacell within the GridView Pin
Ashfield27-Aug-08 3:13
Ashfield27-Aug-08 3:13 
QuestionCreating Instance of button at run time. Pin
Member 395385627-Aug-08 2:48
Member 395385627-Aug-08 2:48 
AnswerRe: Creating Instance of button at run time. Pin
User 665827-Aug-08 2:50
User 665827-Aug-08 2:50 
GeneralRe: Creating Instance of button at run time. Pin
Member 395385627-Aug-08 2:54
Member 395385627-Aug-08 2:54 
GeneralRe: Creating Instance of button at run time. Pin
lisan_al_ghaib27-Aug-08 3:45
lisan_al_ghaib27-Aug-08 3:45 
GeneralRe: Creating Instance of button at run time. Pin
Member 395385627-Aug-08 4:29
Member 395385627-Aug-08 4:29 
Thanks Lisan

I'll get some good books but until then this works.

int left = 0;
int space = 1; //pix
int nbButtons = 5;
for (int i = 0; i < nbButtons; i++)
{
GlassButton gb = new GlassButton();
gb.Name = i.ToString();
gb.Text = i.ToString();
gb.Left = left;
gb.Location = new Point(20 + (i*5) , 10 + (i *5) );
this.Controls.Add(gb); //gb is a user control
left += gb.Left + gb.Width + space;
}

Thanks again
QuestionRegexp question Pin
Kjetil Svendsen27-Aug-08 2:43
Kjetil Svendsen27-Aug-08 2:43 
AnswerRe: Regexp question Pin
leppie27-Aug-08 4:07
leppie27-Aug-08 4:07 
AnswerRe: Regexp question Pin
Guffa27-Aug-08 9:25
Guffa27-Aug-08 9:25 
QuestionRe: Regexp question Pin
Kjetil Svendsen27-Aug-08 10:24
Kjetil Svendsen27-Aug-08 10:24 
AnswerRe: Regexp question Pin
Guffa27-Aug-08 10:47
Guffa27-Aug-08 10:47 
GeneralRe: Regexp question Pin
Kjetil Svendsen27-Aug-08 11:46
Kjetil Svendsen27-Aug-08 11:46 
AnswerRe: Regexp question Pin
Guffa27-Aug-08 15:06
Guffa27-Aug-08 15:06 
GeneralRe: Regexp question Pin
Kjetil Svendsen27-Aug-08 20:57
Kjetil Svendsen27-Aug-08 20:57 
AnswerRe: Regexp question Pin
Guffa28-Aug-08 11:14
Guffa28-Aug-08 11:14 
QuestionHow to Open a Visual Studio 2008 Project with Express Edition Pin
Babubhai0727-Aug-08 1:53
Babubhai0727-Aug-08 1:53 
AnswerRe: How to Open a Visual Studio 2008 Project with Express Edition Pin
leppie27-Aug-08 2:26
leppie27-Aug-08 2:26 
GeneralRe: How to Open a Visual Studio 2008 Project with Express Edition Pin
Babubhai0727-Aug-08 5:41
Babubhai0727-Aug-08 5:41 
GeneralRe: How to Open a Visual Studio 2008 Project with Express Edition Pin
Thomas Stockwell27-Aug-08 6:07
professionalThomas Stockwell27-Aug-08 6:07 
QuestionHow can we generate a tiny preview image from a website ? Pin
Mohammad Dayyan27-Aug-08 1:41
Mohammad Dayyan27-Aug-08 1:41 
AnswerRe: How can we generate a tiny preview image from a website ? Pin
blackjack215027-Aug-08 2:18
blackjack215027-Aug-08 2:18 
GeneralRe: How can we generate a tiny preview image from a website ? Pin
Mohammad Dayyan27-Aug-08 2:24
Mohammad Dayyan27-Aug-08 2:24 
AnswerRe: How can we generate a tiny preview image from a website ? Pin
chaiguy133727-Aug-08 4:24
chaiguy133727-Aug-08 4:24 

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.