Enable/Disable Checkboxes based on Parent Check value?

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I am wondering if VB.NET GUI logic has this already built-in.

I have two check boxes in a Login Windows Form:

UserName: _________________________
Password: _________________________

[_] Remember Credentials
[_] Auto Login

Normally, under MFC if I wanted to disable/enable Auto Login depending
on the state of Remember Credentials, you have to do it yourself in
the click events.

I don't see it in the properties, but can I associate the check state
of sub-checkbox based on its parent some how?

Its a common thing so I just wondering if there is already something
in .NET for this? Of course, no problem to create the events, just
wondering. :-)

Thanks

--
 
Mike,

Most people use currently integrated security, that means the IsInRole part,
just search for that IsInRole and you find the right Net classes for that.

Therefore login is a little bit from yesterday (in desktop applications)

Cor
 
Cor,

I appreciate your input, I really do, but I am afraid you make too
many assumptions and this doesn't address the question.

Seems you were responding to my other posting with regards to
My.Settings. :) I am not using Windows Authentication of any kind so
it doesn't matter what most are using. Based on my reading I need to
use System.Configuration and maybe the dictionary within the DLL
and/or figure out how the .NET DLL maps to the .NET process memory.

--


Mike,

Most people use currently integrated security, that means the IsInRole
part, just search for that IsInRole and you find the right Net classes
for that.

Therefore login is a little bit from yesterday (in desktop applications)

Cor

Mike said:
I am wondering if VB.NET GUI logic has this already built-in.

I have two check boxes in a Login Windows Form:

UserName: _________________________
Password: _________________________

[_] Remember Credentials
[_] Auto Login

Normally, under MFC if I wanted to disable/enable Auto Login depending
on the state of Remember Credentials, you have to do it yourself in
the click events.

I don't see it in the properties, but can I associate the check state
of sub-checkbox based on its parent some how?

Its a common thing so I just wondering if there is already something
in .NET for this? Of course, no problem to create the events, just
wondering. :-)

Thanks

--
 
Back
Top