Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Read "Enter" Key Press Value Pin
OriginalGriff1-Mar-10 21:23
mveOriginalGriff1-Mar-10 21:23 
Questionremote desktop Pin
v_neil8710-Feb-10 19:35
v_neil8710-Feb-10 19:35 
QuestionC# Button Click for UART Pin
John-EE10-Feb-10 18:50
John-EE10-Feb-10 18:50 
AnswerRe: C# Button Click for UART Pin
John-EE10-Feb-10 18:52
John-EE10-Feb-10 18:52 
AnswerRe: C# Button Click for UART Pin
Bekjong10-Feb-10 19:14
Bekjong10-Feb-10 19:14 
AnswerRe: C# Button Click for UART Pin
harold aptroot10-Feb-10 20:24
harold aptroot10-Feb-10 20:24 
GeneralRe: C# Button Click for UART Pin
OriginalGriff10-Feb-10 21:54
mveOriginalGriff10-Feb-10 21:54 
QuestionFun With User Controls Pin
Roger Wright10-Feb-10 18:36
professionalRoger Wright10-Feb-10 18:36 
I spent one short evening last week defining a library of user controls for my project to track substation electrical equipment. I had found myself duplicating efforts creating various forms that use the same information, and found it tedious to switch back and forth tweaking properties to make the appearance consistent among forms. So I grouped various data items that I was recreating for each form and spent a few hours creating user controls in a library.

For example, a recloser has some basic nameplate information - serial #, manufacturer, type, etc. Reclosers also have a trip coil, and a close coil, and some but not all have ground trip coils. Each coil has its own voltage and current ratings, and a programmable sequence of trip-wait-close steps it can use to restore service on a faulted line. So I made a generic nameplate control, a coil control, and a sequence control. With these new controls I can play with the visibility properties to display only the elements that are relevant to a specific function or recloser type. At least, that was my plan.

Tonight I spent 30 seconds creating a test Form app, referenced my new library, and dragged the controls onto the form. It looks exactly the way I wanted it to, and behaves exactly as planned when I fiddle with the control properties! Now it's time to add controls to describe transformers, load tap changers, regulators, capacitors, and power circuit breakers to the library.

I'm jazzed! In 10+ years wasted trying to do something useful with Visual C++ I never managed to do this much at all, let alone in only a few hours! Big Grin | :-D

Many thanks to all the patient helpers I've discovered here - programming is FUN again!Cool | :cool:
"A Journey of a Thousand Rest Stops Begins with a Single Movement"

AnswerRe: Fun With User Controls Pin
AspDotNetDev10-Feb-10 19:27
protectorAspDotNetDev10-Feb-10 19:27 
GeneralRe: Fun With User Controls Pin
Roger Wright11-Feb-10 2:08
professionalRoger Wright11-Feb-10 2:08 
Questioncalling web service Pin
Ramkithepower10-Feb-10 16:46
Ramkithepower10-Feb-10 16:46 
AnswerRe: calling web service Pin
Pranay Rana10-Feb-10 18:05
professionalPranay Rana10-Feb-10 18:05 
Questionhow would you change your bindingsource for a textbox programmably Pin
tonyonlinux10-Feb-10 14:37
tonyonlinux10-Feb-10 14:37 
AnswerRe: how would you change your bindingsource for a textbox programmably Pin
Gaurav Dudeja India10-Feb-10 17:22
Gaurav Dudeja India10-Feb-10 17:22 
GeneralRe: how would you change your bindingsource for a textbox programmably Pin
tonyonlinux10-Feb-10 17:32
tonyonlinux10-Feb-10 17:32 
GeneralRe: how would you change your bindingsource for a textbox programmably Pin
tonyonlinux10-Feb-10 18:13
tonyonlinux10-Feb-10 18:13 
QuestionMoving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 9:12
shadowthief_0310-Feb-10 9:12 
AnswerRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 9:15
professionalKeith Barrow10-Feb-10 9:15 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 9:53
shadowthief_0310-Feb-10 9:53 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 10:08
professionalKeith Barrow10-Feb-10 10:08 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 10:35
shadowthief_0310-Feb-10 10:35 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 11:21
professionalKeith Barrow10-Feb-10 11:21 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 10:53
shadowthief_0310-Feb-10 10:53 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Eddy Vluggen10-Feb-10 11:14
professionalEddy Vluggen10-Feb-10 11:14 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 11:24
shadowthief_0310-Feb-10 11:24 

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.