A
adamsalata
Hi I'm wrting a simple calculator in C# using Windows Forms and I'm
learning it now. I have one question. Is there any way to chceck if
specified button was pressed? I know that I have event handlers, but I
need to check it outside event handler. Is it possible? I've tried
something like: b1.Click/b1.CasesValidation, but I'm looking for
something different, that will be possible to use in if statement for
example if(b1.wasCliked) {...}. I know, that this is a lame question,
but help me please
learning it now. I have one question. Is there any way to chceck if
specified button was pressed? I know that I have event handlers, but I
need to check it outside event handler. Is it possible? I've tried
something like: b1.Click/b1.CasesValidation, but I'm looking for
something different, that will be possible to use in if statement for
example if(b1.wasCliked) {...}. I know, that this is a lame question,
but help me please
