Click here to Skip to main content
15,913,610 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: DataGridView not updating when DataSource updates Pin
RabidHamster19-Mar-07 14:49
RabidHamster19-Mar-07 14:49 
GeneralRe: DataGridView not updating when DataSource updates Pin
mmfranke20-Mar-07 3:00
mmfranke20-Mar-07 3:00 
GeneralRe: DataGridView not updating when DataSource updates Pin
mmfranke20-Mar-07 3:09
mmfranke20-Mar-07 3:09 
QuestionHow to convert existing C# Windows Application to C# Web Application.. Pin
MPS_DotNet18-Mar-07 21:08
MPS_DotNet18-Mar-07 21:08 
AnswerRe: How to convert existing C# Windows Application to C# Web Application.. Pin
Colin Angus Mackay19-Mar-07 1:19
Colin Angus Mackay19-Mar-07 1:19 
AnswerRe: How to convert existing C# Windows Application to C# Web Application.. Pin
Dave Kreskowiak19-Mar-07 1:43
mveDave Kreskowiak19-Mar-07 1:43 
QuestionUse Reflection to control winforms user permissions? Pin
nzmike18-Mar-07 20:21
nzmike18-Mar-07 20:21 
AnswerRe: Use Reflection to control winforms user permissions? Pin
Pete O'Hanlon19-Mar-07 0:27
mvePete O'Hanlon19-Mar-07 0:27 
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 

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.