Click here to Skip to main content
15,903,175 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: How to call control from fromA to fromB Pin
cocoonwls3-Apr-08 16:45
cocoonwls3-Apr-08 16:45 
GeneralRe: How to call control from fromA to fromB Pin
Pete O'Hanlon3-Apr-08 23:10
mvePete O'Hanlon3-Apr-08 23:10 
QuestionHow to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Vignesh Krishnan2-Apr-08 18:43
Vignesh Krishnan2-Apr-08 18:43 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
John_Adams2-Apr-08 22:55
John_Adams2-Apr-08 22:55 
GeneralRe: How to Bind Controls in GridView in VB.Net or C#.Net (Windows Application) Pin
Vignesh Krishnan2-Apr-08 23:31
Vignesh Krishnan2-Apr-08 23:31 
GeneralDatabinding Radio Buttons in a Winforms Group Box Pin
fredsparkle2-Apr-08 5:57
fredsparkle2-Apr-08 5:57 
GeneralOrder/sort controls For each ctrl as Control in pnlMain.Controls Pin
divyesh14321-Apr-08 22:49
divyesh14321-Apr-08 22:49 
GeneralRe: Order/sort controls For each ctrl as Control in pnlMain.Controls Pin
Eduard Keilholz3-Apr-08 3:03
Eduard Keilholz3-Apr-08 3:03 
Erhm, 'For Each' loops do not guarantee to retrieve objects from a collection in 'the correct' order.. However, a 'for' loop does...

<br />
For (int iControlCount = 0; iControlCount < pnlMain.Controls.Count; iControlCount++)<br />
{<br />
    Control childControl = pnlMain.Controls[iControlCount];<br />
}<br />


However, since you want to retrieve the controls depening on their location, this loop still doesn't work, because the For loop will retrieve all controls in order they were added to pnlMain...

You should loop through the controls and then compare the left & top properties and sort them accordingly..

.: I love it when a plan comes together :.
http://www.zonderpunt.nl

GeneralRe: Order/sort controls For each ctrl as Control in pnlMain.Controls Pin
divyesh143221-Apr-08 22:37
divyesh143221-Apr-08 22:37 
Questionhtml Pin
vvsprasad1-Apr-08 20:20
vvsprasad1-Apr-08 20:20 
GeneralRe: html Pin
Herman<T>.Instance2-Apr-08 2:14
Herman<T>.Instance2-Apr-08 2:14 
GeneralRe: html Pin
Pete O'Hanlon3-Apr-08 10:30
mvePete O'Hanlon3-Apr-08 10:30 
GeneralRe: html Pin
Mark Salsbery3-Apr-08 10:57
Mark Salsbery3-Apr-08 10:57 
GeneralRe: html Pin
Pete O'Hanlon3-Apr-08 11:17
mvePete O'Hanlon3-Apr-08 11:17 
GeneralRe: html Pin
Colin Angus Mackay7-Apr-08 0:51
Colin Angus Mackay7-Apr-08 0:51 
GeneralRe: html Pin
Colin Angus Mackay7-Apr-08 0:54
Colin Angus Mackay7-Apr-08 0:54 
GeneralRe: html Pin
Pete O'Hanlon7-Apr-08 1:14
mvePete O'Hanlon7-Apr-08 1:14 
Questionhow to show image during saving data? Pin
samrat.net1-Apr-08 2:17
samrat.net1-Apr-08 2:17 
AnswerRe: how to show image during saving data? Pin
Herman<T>.Instance1-Apr-08 23:30
Herman<T>.Instance1-Apr-08 23:30 
QuestionUsing SourceGrid, unable to use CopyPasteSelection from ContextMenuStyle enum item. [modified] Pin
kisna_madhusudan1-Apr-08 1:54
kisna_madhusudan1-Apr-08 1:54 
QuestionMDI child in panel problem [modified] Pin
invader8231-Mar-08 4:54
invader8231-Mar-08 4:54 
GeneralRe: MDI child in panel problem Pin
Luis Alonso Ramos31-Mar-08 7:27
Luis Alonso Ramos31-Mar-08 7:27 
GeneralRe: MDI child in panel problem Pin
invader8231-Mar-08 7:50
invader8231-Mar-08 7:50 
GeneralRe: MDI child in panel problem Pin
Luis Alonso Ramos31-Mar-08 9:47
Luis Alonso Ramos31-Mar-08 9:47 
GeneralRe: MDI child in panel problem Pin
invader821-Apr-08 2:44
invader821-Apr-08 2:44 

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.