first events

This commit is contained in:
test
2019-04-09 16:14:26 +02:00
parent 5cfbf8d0a5
commit b8f984edd9
13 changed files with 229 additions and 23 deletions

View File

@ -71,6 +71,17 @@ namespace WindowsFormsApp01
_number = (int) res;
label1.Text = "Ergebnis: " + res.ToString();
var f = new CalcEventArgs(res);
//trigger handler
// if (CalcFinished != null)
// {
CalcFinished(f);
// }
}
@ -225,6 +236,9 @@ namespace WindowsFormsApp01
public static event CalcEventHandler CalcFinished;
public static void CalcIt()
{
int res = DateTime.Now.Second;