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

C#

 
GeneralRe: Very Strange Behaviour (for me) ...... Pin
Emanuele Bonin6-Mar-15 2:53
Emanuele Bonin6-Mar-15 2:53 
GeneralRe: Very Strange Behaviour (for me) ...... Pin
Richard MacCutchan6-Mar-15 3:02
mveRichard MacCutchan6-Mar-15 3:02 
GeneralRe: Very Strange Behaviour (for me) ...... Pin
Emanuele Bonin6-Mar-15 7:10
Emanuele Bonin6-Mar-15 7:10 
AnswerRe: Very Strange Behaviour (for me) ...... Pin
manchanx6-Mar-15 3:22
professionalmanchanx6-Mar-15 3:22 
GeneralRe: Very Strange Behaviour (for me) ...... Pin
Emanuele Bonin6-Mar-15 7:36
Emanuele Bonin6-Mar-15 7:36 
AnswerRe: Very Strange Behaviour (for me) ...... Pin
BillWoodruff6-Mar-15 4:51
professionalBillWoodruff6-Mar-15 4:51 
GeneralRe: Very Strange Behaviour (for me) ...... Pin
Emanuele Bonin6-Mar-15 7:29
Emanuele Bonin6-Mar-15 7:29 
GeneralRe: Very Strange Behaviour (for me) ...... Pin
BillWoodruff6-Mar-15 13:20
professionalBillWoodruff6-Mar-15 13:20 
Yes, if you want the Picker Form to disappear when you click outside it, it cannot be shown modally, that's understood.

But, to me that's a separate issue, entirely. You just hide the Picker Form when it fires its Deactivate Event, and that should not cause the behavior you describe.

A MonthCalender Control is an "object:" whether it is "static" or not is a result of how you declared your reference to an instance of that object.

In my view, if you recreate the Picker Form each time you want to use it, that's the opposite of "static." This is static:

// in main Form
private static PickerForm dtPicker = new dtPicker(); // show and hide as needed

Learning how to raise custom events, and create custom event arguments for use with them as needed, is an important part of your .NET toolkit.

If you want to see an example, just ask.

cheers, Bill
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"

GeneralRe: Very Strange Behaviour (for me) ...... Pin
Emanuele Bonin6-Mar-15 20:57
Emanuele Bonin6-Mar-15 20:57 
QuestionGF(256) Multiplication Pin
Member 115029285-Mar-15 20:50
Member 115029285-Mar-15 20:50 
AnswerRe: GF(256) Multiplication Pin
Richard MacCutchan5-Mar-15 21:08
mveRichard MacCutchan5-Mar-15 21:08 
GeneralRe: GF(256) Multiplication Pin
harold aptroot5-Mar-15 23:12
harold aptroot5-Mar-15 23:12 
GeneralRe: GF(256) Multiplication Pin
Richard MacCutchan5-Mar-15 23:56
mveRichard MacCutchan5-Mar-15 23:56 
GeneralRe: GF(256) Multiplication Pin
harold aptroot6-Mar-15 0:04
harold aptroot6-Mar-15 0:04 
GeneralRe: GF(256) Multiplication Pin
Richard MacCutchan6-Mar-15 0:15
mveRichard MacCutchan6-Mar-15 0:15 
GeneralRe: GF(256) Multiplication Pin
harold aptroot6-Mar-15 0:21
harold aptroot6-Mar-15 0:21 
AnswerRe: GF(256) Multiplication Pin
harold aptroot6-Mar-15 0:24
harold aptroot6-Mar-15 0:24 
QuestionNeed Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 10:26
AnneThorne5-Mar-15 10:26 
SuggestionRe: Need Function to Redact SSNs and CCs from a string Pin
ZurdoDev5-Mar-15 10:43
professionalZurdoDev5-Mar-15 10:43 
GeneralRe: Need Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 10:56
AnneThorne5-Mar-15 10:56 
GeneralRe: Need Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 11:28
AnneThorne5-Mar-15 11:28 
GeneralRe: Need Function to Redact SSNs and CCs from a string Pin
AnneThorne5-Mar-15 12:10
AnneThorne5-Mar-15 12:10 
QuestionMessage Removed Pin
5-Mar-15 8:19
professionalN_tro_P5-Mar-15 8:19 
AnswerRe: EntityFramework Disable Lazy loading Pin
Dave Kreskowiak5-Mar-15 10:10
mveDave Kreskowiak5-Mar-15 10:10 
GeneralMessage Removed Pin
5-Mar-15 11:02
professionalN_tro_P5-Mar-15 11:02 

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.