Click here to Skip to main content
16,005,316 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataRow Problem Pin
jonny55-Dec-05 20:20
jonny55-Dec-05 20:20 
GeneralRe: DataRow Problem Pin
tatchung5-Dec-05 20:47
tatchung5-Dec-05 20:47 
QuestionAccessing Main menu Item? Pin
MudkiSekhon5-Dec-05 19:58
MudkiSekhon5-Dec-05 19:58 
AnswerRe: Accessing Main menu Item? Pin
Vikram A Punathambekar6-Dec-05 0:38
Vikram A Punathambekar6-Dec-05 0:38 
GeneralRe: Accessing Main menu Item? Pin
MudkiSekhon6-Dec-05 0:48
MudkiSekhon6-Dec-05 0:48 
GeneralRe: Accessing Main menu Item? Pin
Vikram A Punathambekar6-Dec-05 0:56
Vikram A Punathambekar6-Dec-05 0:56 
GeneralRe: Accessing Main menu Item? Pin
MudkiSekhon6-Dec-05 1:16
MudkiSekhon6-Dec-05 1:16 
GeneralRe: Accessing Main menu Item? Pin
Vikram A Punathambekar6-Dec-05 2:22
Vikram A Punathambekar6-Dec-05 2:22 
Sandeep, I saw your post below saying you were successful, but it never hurts to learn new ways... right? Smile | :)

From within the password dialog, this.MdiParent will give you a reference to your main form. You can use this to enable/disable the menu.

Alternatively, when you authenticate the user, set the form's DialogResult property to DialogResult.Yes or DialogResult.No. In your main form, after the line where you show the login dialog, check the return value and enable the menu again.

Smile | :)

Cheers,
Vikram.
GeneralRe: Accessing Main menu Item? Pin
MudkiSekhon6-Dec-05 1:46
MudkiSekhon6-Dec-05 1:46 
QuestionToolTip for ComboBox Pin
suresh sahu5-Dec-05 18:22
suresh sahu5-Dec-05 18:22 
QuestionI want to execute only one file in the project in C#.net Pin
sridevi20055-Dec-05 17:35
sridevi20055-Dec-05 17:35 
AnswerRe: I want to execute only one file in the project in C#.net Pin
Guffa6-Dec-05 0:46
Guffa6-Dec-05 0:46 
GeneralRe: I want to execute only one file in the project in C#.net Pin
sridevi20056-Dec-05 1:44
sridevi20056-Dec-05 1:44 
AnswerRe: I want to execute only one file in the project in C#.net Pin
Colin Angus Mackay6-Dec-05 1:14
Colin Angus Mackay6-Dec-05 1:14 
GeneralRe: I want to execute only one file in the project in C#.net Pin
sridevi20056-Dec-05 1:52
sridevi20056-Dec-05 1:52 
GeneralRe: I want to execute only one file in the project in C#.net Pin
Colin Angus Mackay6-Dec-05 2:05
Colin Angus Mackay6-Dec-05 2:05 
GeneralRe: I want to execute only one file in the project in C#.net Pin
sridevi20056-Dec-05 2:32
sridevi20056-Dec-05 2:32 
QuestionC# vs VB.Net Pin
inew5-Dec-05 16:02
inew5-Dec-05 16:02 
QuestionGet a List of all objects in application? Pin
Robert M Greene5-Dec-05 15:12
Robert M Greene5-Dec-05 15:12 
AnswerRe: Get a List of all objects in application? Pin
Sasuko5-Dec-05 21:43
Sasuko5-Dec-05 21:43 
GeneralRe: Get a List of all objects in application? Pin
Vikram A Punathambekar6-Dec-05 0:45
Vikram A Punathambekar6-Dec-05 0:45 
QuestionHelp providers Pin
CandyMe5-Dec-05 14:47
CandyMe5-Dec-05 14:47 
QuestionUrgent Help needed for reflection Pin
subbucs5-Dec-05 14:26
subbucs5-Dec-05 14:26 
QuestionWhat's up with this new Loader Lock exception? Pin
dxben5-Dec-05 12:10
dxben5-Dec-05 12:10 
AnswerRe: What's up with this new Loader Lock exception? Pin
leppie5-Dec-05 12:23
leppie5-Dec-05 12:23 

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.