Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bitmap.Lockbytes AccessViolation Pin
Luc Pattyn25-Jan-12 6:17
sitebuilderLuc Pattyn25-Jan-12 6:17 
GeneralRe: Bitmap.Lockbytes AccessViolation Pin
Ylno25-Jan-12 11:22
Ylno25-Jan-12 11:22 
AnswerRe: Bitmap.Lockbytes AccessViolation Pin
Luc Pattyn25-Jan-12 12:39
sitebuilderLuc Pattyn25-Jan-12 12:39 
GeneralRe: Bitmap.Lockbytes AccessViolation Pin
Ylno25-Jan-12 18:21
Ylno25-Jan-12 18:21 
AnswerRe: Bitmap.Lockbytes AccessViolation Pin
Luc Pattyn25-Jan-12 23:04
sitebuilderLuc Pattyn25-Jan-12 23:04 
GeneralRe: Bitmap.Lockbytes AccessViolation Pin
Ylno26-Jan-12 7:05
Ylno26-Jan-12 7:05 
Questioncontrols Pin
theanil25-Jan-12 3:40
theanil25-Jan-12 3:40 
AnswerRe: controls Pin
Pete O'Hanlon25-Jan-12 3:45
mvePete O'Hanlon25-Jan-12 3:45 
As you haven't specified what technology you are using (e.g. WinForms), I'm going to have to be fairly general here.

Yes you can. You would need to remove the controls you don't want from the parents control collection (you have to iterate over this using a for loop as you are removing items which you can't do inside a foreach if it directly affects the item being iterated). NOTE: Don't forget to dereference the eventhandlers.

Once you have removed them, add in your new controls taking care to set any relevant properties such as location, etc.

Forgive your enemies - it messes with their heads

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


GeneralRe: controls Pin
theanil25-Jan-12 3:50
theanil25-Jan-12 3:50 
GeneralRe: controls Pin
Pete O'Hanlon25-Jan-12 3:57
mvePete O'Hanlon25-Jan-12 3:57 
GeneralRe: controls Pin
theanil25-Jan-12 4:01
theanil25-Jan-12 4:01 
AnswerRe: controls Pin
BillWoodruff27-Jan-12 7:20
professionalBillWoodruff27-Jan-12 7:20 
Questioncreate an application which generate table of the entered number.. Pin
rajiv kumar (abbi)24-Jan-12 23:01
rajiv kumar (abbi)24-Jan-12 23:01 
AnswerRe: create an application which generate table of the entered number.. Pin
Pete O'Hanlon24-Jan-12 23:19
mvePete O'Hanlon24-Jan-12 23:19 
AnswerRe: create an application which generate table of the entered number.. Pin
OriginalGriff24-Jan-12 23:40
mveOriginalGriff24-Jan-12 23:40 
AnswerRe: create an application which generate table of the entered number.. Pin
phil.o25-Jan-12 0:20
professionalphil.o25-Jan-12 0:20 
AnswerRe: create an application which generate table of the entered number.. Pin
Luc Pattyn25-Jan-12 0:45
sitebuilderLuc Pattyn25-Jan-12 0:45 
GeneralRe: create an application which generate table of the entered number.. Pin
Wayne Gaylard25-Jan-12 1:01
professionalWayne Gaylard25-Jan-12 1:01 
AnswerRe: create an application which generate table of the entered number.. Pin
Abhinav S25-Jan-12 0:47
Abhinav S25-Jan-12 0:47 
AnswerRe: create an application which generate table of the entered number.. Pin
PIEBALDconsult25-Jan-12 2:28
mvePIEBALDconsult25-Jan-12 2:28 
GeneralRe: create an application which generate table of the entered number.. Pin
Richard Andrew x6425-Jan-12 3:10
professionalRichard Andrew x6425-Jan-12 3:10 
GeneralRe: create an application which generate table of the entered number.. Pin
Pete O'Hanlon25-Jan-12 3:31
mvePete O'Hanlon25-Jan-12 3:31 
GeneralRe: create an application which generate table of the entered number.. Pin
PIEBALDconsult25-Jan-12 5:04
mvePIEBALDconsult25-Jan-12 5:04 
GeneralRe: create an application which generate table of the entered number.. Pin
OriginalGriff25-Jan-12 6:22
mveOriginalGriff25-Jan-12 6:22 
GeneralRe: create an application which generate table of the entered number.. Pin
BillWoodruff27-Jan-12 7:26
professionalBillWoodruff27-Jan-12 7:26 

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.