Click here to Skip to main content
15,885,952 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Sascha Lefèvre14-Mar-16 1:49
professionalSascha Lefèvre14-Mar-16 1:49 
AnswerRe: steganography cover audio using modification LSB and phase coding technique Pin
OriginalGriff10-Mar-16 23:44
mveOriginalGriff10-Mar-16 23:44 
GeneralRe: steganography cover audio using modification LSB and phase coding technique Pin
Toni Andika11-Mar-16 1:53
Toni Andika11-Mar-16 1:53 
QuestionIs this possible? trying to split a string out of a value and then back into a IEnumerable....... Pin
Helixpoint10-Mar-16 5:16
Helixpoint10-Mar-16 5:16 
AnswerRe: Is this possible? trying to split a string out of a value and then back into a IEnumerable....... Pin
PIEBALDconsult10-Mar-16 5:29
mvePIEBALDconsult10-Mar-16 5:29 
Question[SOLVED]I am having an issue with Boolean variables... Pin
glennPattonWork310-Mar-16 3:05
professionalglennPattonWork310-Mar-16 3:05 

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.