Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
GeneralRe: cross thread issue Pin
Member 1068390227-Mar-14 5:51
Member 1068390227-Mar-14 5:51 
GeneralRe: cross thread issue Pin
BobJanova27-Mar-14 6:54
BobJanova27-Mar-14 6:54 
GeneralRe: cross thread issue Pin
Bernhard Hiller27-Mar-14 23:26
Bernhard Hiller27-Mar-14 23:26 
GeneralRe: cross thread issue Pin
BobJanova28-Mar-14 0:26
BobJanova28-Mar-14 0:26 
SuggestionBUILDING a GUI that talks to two energy-meters through the serial port Pin
Henri Aghaei26-Mar-14 7:51
Henri Aghaei26-Mar-14 7:51 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
Dave Kreskowiak26-Mar-14 8:38
mveDave Kreskowiak26-Mar-14 8:38 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
V.27-Mar-14 0:04
professionalV.27-Mar-14 0:04 
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
BobJanova27-Mar-14 6:53
BobJanova27-Mar-14 6:53 
Serial port communication is definitely possible in C#/.Net. It's a low level interface though so you need to know what bits to read and write, handle wait periods and transfer rates and things like that, which require a lot of information about the chips' behaviour (i.e. documentation).

You definitely shouldn't be interacting directly with the ports from UI code. Apart from it being generally good programming practice to separate concerns (and there are at least two obvious distinct parts of this app, serial port I/O and UI; probably three if there's any logic to be done), I/O does lots of things on background threads and that really doesn't play nicely with UIs.
GeneralRe: BUILDING a GUI that talks to two energy-meters through the serial port Pin
Henri Aghaei7-Apr-14 9:18
Henri Aghaei7-Apr-14 9:18 
QuestionConvert .mp3 file to .vox in vb.net or c# Pin
Member 1070135326-Mar-14 6:46
Member 1070135326-Mar-14 6:46 
AnswerRe: Convert .mp3 file to .vox in vb.net or c# Pin
Eddy Vluggen26-Mar-14 8:02
professionalEddy Vluggen26-Mar-14 8:02 
GeneralRe: Convert .mp3 file to .vox in vb.net or c# Pin
harold aptroot26-Mar-14 8:26
harold aptroot26-Mar-14 8:26 
QuestionC# Web Forms: Add a context menu to a grid and outside grid also. Pin
AshwiniSH25-Mar-14 23:57
professionalAshwiniSH25-Mar-14 23:57 
AnswerRe: C# Web Forms: Add a context menu to a grid and outside grid also. Pin
Pete O'Hanlon26-Mar-14 0:04
mvePete O'Hanlon26-Mar-14 0:04 
GeneralRe: C# Web Forms: Add a context menu to a grid and outside grid also. Pin
AshwiniSH26-Mar-14 0:12
professionalAshwiniSH26-Mar-14 0:12 
Questionstyle close button extra tab Pin
ebrahim.rayatparvar25-Mar-14 22:27
ebrahim.rayatparvar25-Mar-14 22:27 
AnswerRe: style close button extra tab Pin
BillWoodruff25-Mar-14 23:10
professionalBillWoodruff25-Mar-14 23:10 
GeneralRe: style close button extra tab Pin
ebrahim.rayatparvar25-Mar-14 23:50
ebrahim.rayatparvar25-Mar-14 23:50 
AnswerRe: style close button extra tab Pin
Pete O'Hanlon25-Mar-14 23:10
mvePete O'Hanlon25-Mar-14 23:10 
GeneralRe: style close button extra tab Pin
ebrahim.rayatparvar25-Mar-14 23:52
ebrahim.rayatparvar25-Mar-14 23:52 
GeneralRe: style close button extra tab PinPopular
Pete O'Hanlon26-Mar-14 0:03
mvePete O'Hanlon26-Mar-14 0:03 
AnswerRe: style close button extra tab Pin
Simon_Whale25-Mar-14 23:12
Simon_Whale25-Mar-14 23:12 
QuestionWhere am I send a request about C# new language feature Pin
Higty25-Mar-14 21:52
Higty25-Mar-14 21:52 
AnswerRe: Where am I send a request about C# new language feature Pin
Chris Quinn25-Mar-14 22:05
Chris Quinn25-Mar-14 22:05 
GeneralRe: Where am I send a request about C# new language feature Pin
Higty25-Mar-14 22:50
Higty25-Mar-14 22:50 

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.