equal
deleted
inserted
replaced
|
1 using System; |
|
2 using System.Collections.Generic; |
|
3 using System.Linq; |
|
4 using System.Text; |
|
5 |
|
6 using FingersDance.Control.TimeLine; |
|
7 |
|
8 namespace FingersDance.Actions |
|
9 { |
|
10 public class ActionStartOrEndAnnotation : FingersDance.Actions.ActionBase |
|
11 { |
|
12 |
|
13 private string _Text = ""; |
|
14 private UserControlTimeLine myTimeline; |
|
15 |
|
16 public ActionStartOrEndAnnotation() |
|
17 { |
|
18 |
|
19 } |
|
20 |
|
21 public ActionStartOrEndAnnotation(string text) |
|
22 { |
|
23 _Text = text; |
|
24 } |
|
25 |
|
26 public ActionStartOrEndAnnotation(UserControlTimeLine uct) |
|
27 { |
|
28 myTimeline = uct; |
|
29 } |
|
30 |
|
31 public void Execute() |
|
32 { |
|
33 if (myTimeline != null) |
|
34 myTimeline.startOrEndAnnotation(); |
|
35 } |
|
36 } |
|
37 } |
|
38 |