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 ActionAddAnnotation : FingersDance.Actions.ActionBase |
|
11 { |
|
12 private string _Text = ""; |
|
13 private UserControlTimeLine myTimeline; |
|
14 |
|
15 public ActionAddAnnotation() |
|
16 { |
|
17 |
|
18 } |
|
19 |
|
20 public ActionAddAnnotation(string text) |
|
21 { |
|
22 _Text = text; |
|
23 } |
|
24 |
|
25 public ActionAddAnnotation(UserControlTimeLine uct) |
|
26 { |
|
27 myTimeline = uct; |
|
28 } |
|
29 |
|
30 public void Execute() |
|
31 { |
|
32 if (myTimeline != null) |
|
33 myTimeline.addAnnotation(); |
|
34 } |
|
35 } |
|
36 } |