-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathEventObject.cs
More file actions
33 lines (27 loc) · 1.03 KB
/
EventObject.cs
File metadata and controls
33 lines (27 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ST.Library.UI.STTextBox
{
public delegate void TextManagerTextEventHandler(object sender, TextManagerTextEventArgs e);
public delegate void TextManagerLineEventHandler(object sender, TextManagerLineEventArgs e);
public class TextManagerTextEventArgs : EventArgs
{
public List<TextHistoryRecord> TextHistoryRecord { get; private set; }
public TextManagerTextEventArgs(List<TextHistoryRecord> thrs) {
this.TextHistoryRecord = thrs;
}
}
public class TextManagerLineEventArgs : EventArgs
{
public int IndexOfLine { get; private set; }
public TextLine Line { get; private set; }
public TextHistoryRecord History { get; private set; }
public TextManagerLineEventArgs(int nLineIndex, TextLine stLine, TextHistoryRecord history) {
this.IndexOfLine = nLineIndex;
this.History = history;
this.Line = stLine;
}
}
}