Click here to Skip to main content
15,305,430 members
Home / Discussions / C#
   

C#

 
GeneralRe: Speech Recgnition Pin
Blue_Boy26-Jul-13 2:13
MemberBlue_Boy26-Jul-13 2:13 
GeneralRe: Speech Recgnition Pin
Keith Barrow26-Jul-13 2:22
professionalKeith Barrow26-Jul-13 2:22 
SuggestionMy Vote of 1 Pin
Keith Barrow25-Jul-13 23:32
professionalKeith Barrow25-Jul-13 23:32 
AnswerRe: Speech Recgnition Pin
Amir Mohammad Nasrollahi29-Jul-13 4:28
professionalAmir Mohammad Nasrollahi29-Jul-13 4:28 
QuestionC# winfoms application with sql server database (online) ? Pin
Member 996694125-Jul-13 12:57
MemberMember 996694125-Jul-13 12:57 
AnswerRe: C# winfoms application with sql server database (online) ? Pin
Ron Beyer25-Jul-13 13:08
professionalRon Beyer25-Jul-13 13:08 
AnswerRe: C# winfoms application with sql server database (online) ? Pin
Mycroft Holmes25-Jul-13 13:59
professionalMycroft Holmes25-Jul-13 13:59 
QuestionAcquiring a property value Pin
Blubbo25-Jul-13 9:49
MemberBlubbo25-Jul-13 9:49 
When a custom control (DeviceMonitor) was generated along with the property as follow:
C#
public bool isConnected {get; set;}

then in the main form to add the control to the form...
C#
DeviceMonitor devMon = new DeviceMonitor();
Control deviceControl= devMon;
this.Controls.Add(deviceControl);

Somewhere in the code, I would need to acquire the "isConnected". I tried
C#
if (deviceControl.IsConnected)
{
   ...
}

but the .net doesn't see the property value of "isConnected".

How do I get this property value this way? Should I use this instead in the main form:
C#
DeviceMonitor devMon = new DeviceMonitor();
this.Controls.Add(devMon);


This way, I can get it as:
C#
if (devMon.IsConnected)
{
   ...
}

Any response?
GeneralRe: Acquiring a property value Pin
N8tiv25-Jul-13 10:13
MemberN8tiv25-Jul-13 10:13 
GeneralRe: Acquiring a property value Pin
Richard MacCutchan25-Jul-13 21:16
mveRichard MacCutchan25-Jul-13 21:16 
GeneralRe: Acquiring a property value Pin
Blubbo26-Jul-13 1:47
MemberBlubbo26-Jul-13 1:47 
AnswerRe: Acquiring a property value Pin
Brisingr Aerowing25-Jul-13 10:28
professionalBrisingr Aerowing25-Jul-13 10:28 
GeneralRe: Acquiring a property value Pin
Blubbo26-Jul-13 1:48
MemberBlubbo26-Jul-13 1:48 
AnswerRe: Acquiring a property value Pin
Dave Kreskowiak25-Jul-13 10:40
mveDave Kreskowiak25-Jul-13 10:40 
GeneralRe: Acquiring a property value Pin
N8tiv25-Jul-13 12:00
MemberN8tiv25-Jul-13 12:00 
GeneralRe: Acquiring a property value Pin
Dave Kreskowiak25-Jul-13 15:55
mveDave Kreskowiak25-Jul-13 15:55 
GeneralRe: Acquiring a property value Pin
N8tiv20-Aug-13 9:01
MemberN8tiv20-Aug-13 9:01 
GeneralRe: Acquiring a property value Pin
Dave Kreskowiak20-Aug-13 9:33
mveDave Kreskowiak20-Aug-13 9:33 
GeneralRe: Acquiring a property value Pin
N8tiv20-Aug-13 9:52
MemberN8tiv20-Aug-13 9:52 
GeneralRe: Acquiring a property value Pin
Dave Kreskowiak20-Aug-13 13:49
mveDave Kreskowiak20-Aug-13 13:49 
GeneralRe: Acquiring a property value Pin
Blubbo26-Jul-13 1:49
MemberBlubbo26-Jul-13 1:49 
GeneralRe: Acquiring a property value Pin
Dave Kreskowiak26-Jul-13 2:27
mveDave Kreskowiak26-Jul-13 2:27 
GeneralRe: Acquiring a property value Pin
Blubbo26-Jul-13 2:19
MemberBlubbo26-Jul-13 2:19 
AnswerRe: Acquiring a property value Pin
PIEBALDconsult25-Jul-13 14:16
professionalPIEBALDconsult25-Jul-13 14:16 
GeneralRe: Acquiring a property value Pin
Blubbo26-Jul-13 1:50
MemberBlubbo26-Jul-13 1: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.