equal
deleted
inserted
replaced
8 namespace FingersDance.Actions |
8 namespace FingersDance.Actions |
9 { |
9 { |
10 public class ActionStartOrEndAnnotation : FingersDance.Actions.ActionBase |
10 public class ActionStartOrEndAnnotation : FingersDance.Actions.ActionBase |
11 { |
11 { |
12 |
12 |
13 private string _Text = ""; |
13 private String _Text = ""; |
14 private UserControlTimeLine myTimeline; |
14 private UserControlTimeLine myTimeline; |
15 |
15 |
16 public ActionStartOrEndAnnotation() |
16 public ActionStartOrEndAnnotation() |
17 { |
17 { |
18 |
18 |
19 } |
19 } |
20 |
20 |
21 public ActionStartOrEndAnnotation(string text) |
21 public ActionStartOrEndAnnotation(String text) |
22 { |
22 { |
23 _Text = text; |
23 _Text = text; |
24 } |
24 } |
25 |
25 |
26 public ActionStartOrEndAnnotation(UserControlTimeLine uct) |
26 public ActionStartOrEndAnnotation(Object[] param) |
27 { |
27 { |
28 myTimeline = uct; |
28 myTimeline = (UserControlTimeLine)param[0]; |
|
29 _Text = (String)param[1]; |
29 } |
30 } |
30 |
31 |
31 public void Execute() |
32 public void Execute() |
32 { |
33 { |
33 if (myTimeline != null) |
34 if (myTimeline != null) |
34 myTimeline.startOrEndAnnotation(); |
35 myTimeline.startOrEndAnnotation(_Text); |
35 } |
36 } |
36 } |
37 } |
37 } |
38 } |
38 |
39 |