blob: a58bdf7910e046f71437eff4d6fad278a8eadb3e (
plain)
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
34
35
36
37
38
39
40
41
42
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using System.Threading.Tasks;
using System.ComponentModel;
namespace gsview
{
class ContentItem : INotifyPropertyChanged
{
public int Page
{
get;
internal set;
}
public String StringMargin
{
get;
internal set;
}
public ContentItem()
{
StringMargin = "";
Page = 0;
}
public event PropertyChangedEventHandler PropertyChanged;
public void ContentRefresh()
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs("StringMargin"));
PropertyChanged(this, new PropertyChangedEventArgs("Page"));
}
}
}
}
|