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

C#

 
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 
Ok, so I am at work but just couldn't wait to figure out what I am doing wrong so I am going to try to post this from my phone without my code in front of me.

I have a form and on the form I need the user to select a bit of data, so I am using showDialog (myPopup);

Then in the popup I have the user select said data from a list.
Then when they push the "confirm" button I do this in the on click method:
MainForm MF = new MainForm ();
MF.sendData (data);
this.Close();

Then back in MainForm in sendData() I want to be able to make a label that I have hidden: myHiddenLabel.Text = "data received";
However, this is where I hit a snag, it will not update the label?
Now when I tested and used a MessageBox.Show("test"); in the sendData() method it worked, but for some reason nothing on the MainForm will update for me?

Any ideas?

PLEASE NOTE: this was written off memory and on a phone so Gramm iCal errors and code that doesn't look gramma calluses correct is probably just a victim of autocorrect..

Sorry,

Thank you
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 
GeneralRe: Showdialog() question Pin
randor13-Nov-15 3:14
randor13-Nov-15 3:14 
GeneralRe: Showdialog() question Pin
OriginalGriff13-Nov-15 4:04
mveOriginalGriff13-Nov-15 4:04 
QuestionEvent that fires on existing form when another is selected Pin
Member 1212588812-Nov-15 9:58
Member 1212588812-Nov-15 9:58 
AnswerRe: Event that fires on existing form when another is selected Pin
Richard Andrew x6412-Nov-15 10:12
professionalRichard Andrew x6412-Nov-15 10:12 
AnswerRe: Event that fires on existing form when another is selected Pin
BillWoodruff12-Nov-15 10:57
professionalBillWoodruff12-Nov-15 10:57 
QuestionHow to design a keypad in C#? Pin
naouf1012-Nov-15 9:34
naouf1012-Nov-15 9:34 
AnswerRe: How to design a keypad in C#? Pin
BillWoodruff12-Nov-15 10:40
professionalBillWoodruff12-Nov-15 10:40 
AnswerRe: How to design a keypad in C#? Pin
Gerry Schmitz13-Nov-15 1:37
mveGerry Schmitz13-Nov-15 1:37 
AnswerRe: How to design a keypad in C#? Pin
GrooverFromHolland13-Nov-15 15:40
GrooverFromHolland13-Nov-15 15:40 
GeneralRe: How to design a keypad in C#? Pin
BillWoodruff14-Nov-15 8:39
professionalBillWoodruff14-Nov-15 8:39 
Generalcreating a packet using c# or vb Pin
Member 1140244512-Nov-15 2:52
Member 1140244512-Nov-15 2:52 
GeneralRe: creating a packet using c# or vb Pin
John Torjo12-Nov-15 3:40
professionalJohn Torjo12-Nov-15 3:40 
GeneralRe: creating a packet using c# or vb Pin
Dave Kreskowiak12-Nov-15 3:53
mveDave Kreskowiak12-Nov-15 3:53 
GeneralRe: creating a packet using c# or vb Pin
Member 1140244512-Nov-15 4:44
Member 1140244512-Nov-15 4:44 

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.