Click here to Skip to main content
15,905,785 members
Home / Discussions / C#
   

C#

 
QuestionRe: conditional compilation Pin
John Torjo14-Mar-16 13:12
professionalJohn Torjo14-Mar-16 13:12 
AnswerRe: conditional compilation Pin
joost.versteegen14-Mar-16 21:32
joost.versteegen14-Mar-16 21:32 
GeneralRe: conditional compilation Pin
John Torjo14-Mar-16 21:41
professionalJohn Torjo14-Mar-16 21:41 
GeneralRe: conditional compilation Pin
joost.versteegen14-Mar-16 23:03
joost.versteegen14-Mar-16 23:03 
QuestioniTextSharp Split large table with Headers on each pages Pin
Zefir114-Mar-16 1:09
Zefir114-Mar-16 1:09 
QuestionNewbee Facebook SDK questions Pin
ForNow13-Mar-16 6:30
ForNow13-Mar-16 6:30 
AnswerRe: Newbee Facebook SDK questions Pin
Richard MacCutchan13-Mar-16 7:12
mveRichard MacCutchan13-Mar-16 7:12 
GeneralRe: Newbee Facebook SDK questions Pin
ForNow13-Mar-16 7:27
ForNow13-Mar-16 7:27 
GeneralRe: Newbee Facebook SDK questions Pin
Richard MacCutchan13-Mar-16 23:11
mveRichard MacCutchan13-Mar-16 23:11 
QuestionC# Pin
Member 1238806113-Mar-16 4:20
Member 1238806113-Mar-16 4:20 
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 

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.