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

C#

 
GeneralRe: Threads and exceptions Pin
Robert Rohde11-Feb-05 7:46
Robert Rohde11-Feb-05 7:46 
GeneralRe: Threads and exceptions Pin
Esmo200011-Feb-05 7:59
Esmo200011-Feb-05 7:59 
GeneralRe: Threads and exceptions Pin
Daniel Turini11-Feb-05 8:17
Daniel Turini11-Feb-05 8:17 
GeneralAsynchronous message processing Pin
Esmo200011-Feb-05 4:55
Esmo200011-Feb-05 4:55 
GeneralRe: Asynchronous message processing Pin
Esmo200011-Feb-05 7:15
Esmo200011-Feb-05 7:15 
GeneralVariable assignment problem... Pin
new_phoenix11-Feb-05 4:32
new_phoenix11-Feb-05 4:32 
GeneralRe: Variable assignment problem... Pin
Daniel Turini11-Feb-05 6:53
Daniel Turini11-Feb-05 6:53 
GeneralRe: Variable assignment problem... Pin
new_phoenix11-Feb-05 9:01
new_phoenix11-Feb-05 9:01 
Daniel Turini:

D'Oh! | :doh: D'Oh! | :doh: D'Oh! | :doh: Roll eyes | :rolleyes: Roll eyes | :rolleyes: Roll eyes | :rolleyes: Sigh | :sigh: Sigh | :sigh: Sigh | :sigh:

I just had a Homer Simpson moment when I realized that a menu selection does not return a value to the onLoad event. Thus, I developed a potential workaround solution. Tell me if you think that this is a viable alternative. I have coded it, but I have not yet tested it.

If I were to put a protected string variable in the variables section of the form and assign it to String.Empty, and then I assigned that string variable in each of the menu selection items, and then in the onLoad event checked to see if that variable was empty or not. Presume that the menu selection reloads the onLoad event. If not empty, then it must have been a menu selection, so the variable could be processed that way. If the variable is empty, then the user must have just started to run the program because the variable was assigned during initialization to String.Empty. Tell me, do you think that this approach would work?

As usual, I appreciate all input and detailed explanations about alternative courses of action. All insights are valuable and appreciated !!!

Thanks, Daniel Turini
GeneralTaskbarNotification display problems Pin
eynkram11-Feb-05 4:27
eynkram11-Feb-05 4:27 
GeneralRe: TaskbarNotification display problems Pin
eynkram17-Feb-05 3:52
eynkram17-Feb-05 3:52 
GeneralProblem while Working with XmlValidatingReader!!!!! Pin
abcxyz8211-Feb-05 4:01
abcxyz8211-Feb-05 4:01 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen11-Feb-05 22:53
Phil Hobgen11-Feb-05 22:53 
GeneralAppDomain and ResolveEventArgs Pin
Marc Clifton11-Feb-05 3:24
mvaMarc Clifton11-Feb-05 3:24 
GeneralRe: AppDomain and ResolveEventArgs Pin
Daniel Turini11-Feb-05 7:01
Daniel Turini11-Feb-05 7:01 
GeneralRe: AppDomain and ResolveEventArgs Pin
leppie11-Feb-05 9:45
leppie11-Feb-05 9:45 
Generalautomatic scroll down in rich text box Pin
kitsune_me11-Feb-05 2:57
kitsune_me11-Feb-05 2:57 
GeneralRe: automatic scroll down in rich text box Pin
leppie11-Feb-05 3:08
leppie11-Feb-05 3:08 
GeneralRe: automatic scroll down in rich text box Pin
kitsune_me11-Feb-05 18:27
kitsune_me11-Feb-05 18:27 
GeneralRe: automatic scroll down in rich text box Pin
mav.northwind11-Feb-05 4:36
mav.northwind11-Feb-05 4:36 
GeneralRe: automatic scroll down in rich text box Pin
kitsune_me11-Feb-05 5:25
kitsune_me11-Feb-05 5:25 
GeneralRe: automatic scroll down in rich text box Pin
mav.northwind11-Feb-05 6:07
mav.northwind11-Feb-05 6:07 
GeneralRe: automatic scroll down in rich text box Pin
Dave Kreskowiak11-Feb-05 9:13
mveDave Kreskowiak11-Feb-05 9:13 
GeneralRe: automatic scroll down in rich text box Pin
kitsune_me11-Feb-05 18:26
kitsune_me11-Feb-05 18:26 
GeneralRe: automatic scroll down in rich text box Pin
S. Senthil Kumar11-Feb-05 7:02
S. Senthil Kumar11-Feb-05 7:02 
GeneralRe: automatic scroll down in rich text box Pin
mav.northwind11-Feb-05 8:07
mav.northwind11-Feb-05 8:07 

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.