Click here to Skip to main content
15,909,737 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Pin
Dave Kreskowiak13-Mar-16 5:23
mveDave Kreskowiak13-Mar-16 5:23 
AnswerRe: C# Pin
Pete O'Hanlon13-Mar-16 5:45
mvePete O'Hanlon13-Mar-16 5:45 
QuestionValidation Pin
chandra tiwari12-Mar-16 17:29
chandra tiwari12-Mar-16 17:29 
AnswerRe: Validation Pin
Dave Kreskowiak12-Mar-16 17:57
mveDave Kreskowiak12-Mar-16 17:57 
AnswerRe: Validation Pin
Pete O'Hanlon12-Mar-16 22:05
mvePete O'Hanlon12-Mar-16 22:05 
QuestionProblem about MDI child form in C# Pin
guest8011-Mar-16 23:54
guest8011-Mar-16 23:54 
QuestionRe: Problem about MDI child form in C# Pin
Richard MacCutchan12-Mar-16 0:03
mveRichard MacCutchan12-Mar-16 0:03 
AnswerRe: Problem about MDI child form in C# Pin
guest8012-Mar-16 0:23
guest8012-Mar-16 0:23 
AnswerRe: Problem about MDI child form in C# Pin
Sascha Lefèvre12-Mar-16 0:06
professionalSascha Lefèvre12-Mar-16 0:06 
GeneralRe: Problem about MDI child form in C# Pin
guest8012-Mar-16 0:23
guest8012-Mar-16 0:23 
GeneralRe: Problem about MDI child form in C# Pin
Sascha Lefèvre12-Mar-16 0:36
professionalSascha Lefèvre12-Mar-16 0:36 
GeneralRe: Problem about MDI child form in C# Pin
guest8012-Mar-16 1:15
guest8012-Mar-16 1:15 
GeneralRe: Problem about MDI child form in C# Pin
Sascha Lefèvre12-Mar-16 1:20
professionalSascha Lefèvre12-Mar-16 1:20 
AnswerRe: Problem about MDI child form in C# Pin
OriginalGriff12-Mar-16 0:12
mveOriginalGriff12-Mar-16 0:12 
Copy the image, so that all the children aren't referring to the same one.
If each child creates it's own copy of the image and loads it into the picturebox, then the images are separate. If they all refer to the same image, then any change to one of them changes the image in them all.
And this does not copy the image:
C#
Image image = myPictureBox.Image;
Image otherImage = image;
myOtherPictureBox.Image = otherImage;
All it copies is a reference to the same image, in the same way that if you and your girlfriend share a car, you can refer to it as "my car", "her car", or "our car" - three separate references to the same physical vehicle.
To copy an image, you need to copy the underlying bitmap image data, so use the Image.Clone Method (System.Drawing)[^]

[edit]Typos...Sigh | :sigh: [/edit]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...


modified 12-Mar-16 10:04am.

GeneralRe: Problem about MDI child form in C# Pin
guest8012-Mar-16 0:25
guest8012-Mar-16 0:25 
QuestionNeed help in C# project which uses bluetooth technology. Pin
Member 1235574311-Mar-16 20:03
Member 1235574311-Mar-16 20:03 
QuestionUse narrator in C# Pin
Member 1238647111-Mar-16 14:20
Member 1238647111-Mar-16 14:20 
QuestionRe: Use narrator in C# Pin
Richard MacCutchan11-Mar-16 22:04
mveRichard MacCutchan11-Mar-16 22:04 
Questionsteganography cover audio using modification LSB and phase coding technique Pin
Toni Andika10-Mar-16 23:20
Toni Andika10-Mar-16 23:20 
AnswerRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre10-Mar-16 23:36
professionalSascha Lefèvre10-Mar-16 23:36 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika11-Mar-16 1:24
Toni Andika11-Mar-16 1:24 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre11-Mar-16 1:31
professionalSascha Lefèvre11-Mar-16 1:31 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika11-Mar-16 2:06
Toni Andika11-Mar-16 2:06 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre11-Mar-16 2:43
professionalSascha Lefèvre11-Mar-16 2:43 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika14-Mar-16 1:17
Toni Andika14-Mar-16 1:17 

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.