Click here to Skip to main content
15,918,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: Parallel vs Threading Pin
Ger Hayden18-Nov-15 3:24
Ger Hayden18-Nov-15 3:24 
QuestionMoving Data from one form to another Pin
KakitaIppatsu13-Nov-15 14:45
KakitaIppatsu13-Nov-15 14:45 
AnswerRe: Moving Data from one form to another Pin
John Torjo13-Nov-15 14:51
professionalJohn Torjo13-Nov-15 14:51 
GeneralRe: Moving Data from one form to another Pin
KakitaIppatsu13-Nov-15 15:24
KakitaIppatsu13-Nov-15 15:24 
GeneralRe: Moving Data from one form to another Pin
John Torjo13-Nov-15 15:30
professionalJohn Torjo13-Nov-15 15:30 
GeneralRe: Moving Data from one form to another Pin
OriginalGriff13-Nov-15 21:43
mveOriginalGriff13-Nov-15 21:43 
GeneralRe: Moving Data from one form to another Pin
OriginalGriff13-Nov-15 21:35
mveOriginalGriff13-Nov-15 21:35 
AnswerRe: Moving Data from one form to another Pin
BillWoodruff13-Nov-15 16:26
professionalBillWoodruff13-Nov-15 16:26 
Changing the 'Ctor of a Form's access to 'Public is a mistake.

You need to set up a dynamic linkage between the run-time created TextBoxes in FormA and FormB. There are several ways you could do this, all relatively simple to implement. One example:

1. if FormB is a "Main Form" and creates the instance of FormA, you could have code in FormB create the TextBoxes at run-time and inject them into FormA: that way, FormB would have direct references to the TextBoxes.

To select from several other possible techniques, it would be helpful to know:

1. which is the "Main Form" here: A, B, or ? if A is not the Main Form where is the code that declares an instance of it and shows it ?

2. which is the Form in which the run-time TextBoxes in A are created: A ? or ?

3. do the number of TextBoxes created at run-time vary, or are they always the same number of TextBoxes ?
«I want to stay as close to the edge as I can without going over. Out on the edge you see all kinds of things you can't see from the center» Kurt Vonnegut.

AnswerRe: Moving Data from one form to another Pin
OriginalGriff13-Nov-15 21:42
mveOriginalGriff13-Nov-15 21:42 
QuestionLocal sqlce database or datatable in xml file Pin
GrooverFromHolland13-Nov-15 13:30
GrooverFromHolland13-Nov-15 13:30 
AnswerRe: Local sqlce database or datatable in xml file Pin
Mycroft Holmes13-Nov-15 14:04
professionalMycroft Holmes13-Nov-15 14:04 
GeneralRe: Local sqlce database or datatable in xml file Pin
GrooverFromHolland13-Nov-15 14:22
GrooverFromHolland13-Nov-15 14:22 
AnswerRe: Local sqlce database or datatable in xml file Pin
Gerry Schmitz13-Nov-15 14:05
mveGerry Schmitz13-Nov-15 14:05 
GeneralRe: Local sqlce database or datatable in xml file Pin
GrooverFromHolland13-Nov-15 14:37
GrooverFromHolland13-Nov-15 14:37 
GeneralRe: Local sqlce database or datatable in xml file Pin
Gerry Schmitz13-Nov-15 15:04
mveGerry Schmitz13-Nov-15 15:04 
QuestionPlay Sound (WAV, MP3 ...) on Input Device (Microphone) Pin
Owned Fiston13-Nov-15 5:58
Owned Fiston13-Nov-15 5:58 
AnswerRe: Play Sound (WAV, MP3 ...) on Input Device (Microphone) Pin
Eddy Vluggen13-Nov-15 6:32
professionalEddy Vluggen13-Nov-15 6:32 
GeneralRe: Play Sound (WAV, MP3 ...) on Input Device (Microphone) Pin
Owned Fiston13-Nov-15 8:21
Owned Fiston13-Nov-15 8:21 
AnswerRe: Play Sound (WAV, MP3 ...) on Input Device (Microphone) Pin
Gerry Schmitz13-Nov-15 7:43
mveGerry Schmitz13-Nov-15 7:43 
GeneralRe: Play Sound (WAV, MP3 ...) on Input Device (Microphone) Pin
Owned Fiston13-Nov-15 8:23
Owned Fiston13-Nov-15 8:23 
GeneralRe: Play Sound (WAV, MP3 ...) on Input Device (Microphone) Pin
Gerry Schmitz13-Nov-15 9:01
mveGerry Schmitz13-Nov-15 9:01 
QuestionShowdialog() question Pin
randor12-Nov-15 14:12
randor12-Nov-15 14:12 
AnswerRe: Showdialog() question Pin
DanielBrownAU12-Nov-15 14:37
professionalDanielBrownAU12-Nov-15 14:37 
AnswerRe: Showdialog() question Pin
BillWoodruff12-Nov-15 15:18
professionalBillWoodruff12-Nov-15 15:18 
AnswerRe: Showdialog() question Pin
OriginalGriff12-Nov-15 21:36
mveOriginalGriff12-Nov-15 21:36 

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.