first events
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user