Click here to Skip to main content
15,888,527 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Use Reflection to control winforms user permissions? Pin
nzmike19-Mar-07 0:48
nzmike19-Mar-07 0:48 
QuestionGet data items from a dataGrid Pin
webHamlet15-Mar-07 19:39
webHamlet15-Mar-07 19:39 
AnswerRe: Get data items from a dataGrid Pin
Smart_Boy22-Mar-07 0:06
Smart_Boy22-Mar-07 0:06 
QuestionMenu coding [modified] Pin
PreppyProgrammer15-Mar-07 14:40
PreppyProgrammer15-Mar-07 14:40 
AnswerRe: Menu coding Pin
giddy_guitarist22-Mar-07 21:42
giddy_guitarist22-Mar-07 21:42 
Questionchange forms caption and border Pin
hamid_m15-Mar-07 0:59
hamid_m15-Mar-07 0:59 
Questiondynamic pictureBox creation Pin
sarah_malik12-Mar-07 6:49
sarah_malik12-Mar-07 6:49 
AnswerRe: dynamic pictureBox creation Pin
JUNEYT12-Mar-07 8:08
JUNEYT12-Mar-07 8:08 
If you are dealing with VB.Net the sample approach can give so some insight how to do that. But you should consider defining location, size, back color information for a specific picturebox which you get it from an array. The sample will rename the each picturebox automatically. WTF | :WTF:

<code>

Dim GetNumber as New Int32 = PutHereHowManyYouWant
Dim I as Int32


For I = 1 to GetNumber

    Dim NewPicBox as New PictureBox

    NewPicBox.Name = "NewPicBox_" + I.toString
    NewPicBox.Size = New Size (PWidth(I), PHeight(I))
    NewPicBox.Location = New Point (PX(I), PY(I))
    NewPicBox.BackColor = color.From.ArgB(P1(I),P2(I),P3(I))

    Me.Controls.Add(NewPicBox)

    'Here you should create an addhandler and out eventhandler procedure
    to control each picture box.

    Next

</code>


What a curious mind needs to discover knowledge is noting else than a pin-hole.


GeneralRe: dynamic pictureBox creation Pin
sarah_malik12-Mar-07 8:14
sarah_malik12-Mar-07 8:14 
GeneralRe: dynamic pictureBox creation Pin
Dave Kreskowiak12-Mar-07 8:47
mveDave Kreskowiak12-Mar-07 8:47 
GeneralRe: dynamic pictureBox creation Pin
sarah_malik12-Mar-07 8:58
sarah_malik12-Mar-07 8:58 
QuestionCustom Form problem... Pin
e-laj10-Mar-07 1:43
e-laj10-Mar-07 1:43 
QuestionBest Freeware Utilities and why you like it Pin
B S O D9-Mar-07 4:53
B S O D9-Mar-07 4:53 
AnswerRe: Best Freeware Utilities and why you like it Pin
led mike9-Mar-07 5:28
led mike9-Mar-07 5:28 
GeneralRe: Best Freeware Utilities and why you like it Pin
Marcus J. Smith9-Mar-07 8:42
professionalMarcus J. Smith9-Mar-07 8:42 
Questionproblem with speakers in the system Pin
Confuseed7-Mar-07 19:19
Confuseed7-Mar-07 19:19 
AnswerRe: problem with speakers in the system Pin
kubben8-Mar-07 3:37
kubben8-Mar-07 3:37 
AnswerRe: problem with speakers in the system Pin
Dave Kreskowiak8-Mar-07 4:50
mveDave Kreskowiak8-Mar-07 4:50 
AnswerRe: problem with speakers in the system Pin
Marcus J. Smith8-Mar-07 5:03
professionalMarcus J. Smith8-Mar-07 5:03 
QuestionAuto pop-up a program when USB device connected Pin
sowhat_827-Mar-07 17:50
sowhat_827-Mar-07 17:50 
AnswerRe: Auto pop-up a program when USB device connected Pin
Dumb Programmer8-Mar-07 20:17
Dumb Programmer8-Mar-07 20:17 
GeneralRe: Auto pop-up a program when USB device connected Pin
B S O D9-Mar-07 4:15
B S O D9-Mar-07 4:15 
AnswerRe: Auto pop-up a program when USB device connected Pin
B S O D9-Mar-07 3:58
B S O D9-Mar-07 3:58 
QuestionDo you copyright your source code? Pin
gman447-Mar-07 2:02
gman447-Mar-07 2:02 
AnswerRe: Do you copyright your source code? Pin
Marcus J. Smith8-Mar-07 5:00
professionalMarcus J. Smith8-Mar-07 5:00 

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.