Click here to Skip to main content
15,884,473 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Pin
Richard Andrew x6413-Mar-16 4:25
professionalRichard Andrew x6413-Mar-16 4:25 
AnswerRe: C# Pin
OriginalGriff13-Mar-16 4:56
mveOriginalGriff13-Mar-16 4:56 
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 
I have a mainform (MDI form) and I have another form (Form1) that includes a picturebox and I draw some lines that change acording to my parameters on it. Then I try to open it as mdichild form. However, I obtain the same drawn lines for every child form, How can I get different instance form in for loop?

I wrote this code main form (MDI parent form) (C# Windows Forms Application)

for (int i = 0; i <= 10; i++)
{
Form1 diagram = new Form1(Group, Paradigm, Method, stimChoise, frequncyChoise);
diagram.MdiParent = this;
diagram.Show();
}

In Form 1, I wrote these
public Form1(string group, string paradigm, string method, string stimChoise, string frequncyChoise)
{
InitializeComponent();
showDiagrams(group, paradigm, method, stimChoise, frequncyChoise);
//this function calls pictureBox1.Paint event that draw lines somewhere
}
Thanks in advance!

modified 12-Mar-16 6:19am.

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 
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 

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.