summaryrefslogtreecommitdiff
path: root/platform/windows/gsview/ContentItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/gsview/ContentItem.cs')
-rw-r--r--platform/windows/gsview/ContentItem.cs42
1 files changed, 42 insertions, 0 deletions
diff --git a/platform/windows/gsview/ContentItem.cs b/platform/windows/gsview/ContentItem.cs
new file mode 100644
index 00000000..a58bdf79
--- /dev/null
+++ b/platform/windows/gsview/ContentItem.cs
@@ -0,0 +1,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"));
+ }
+ }
+ }
+}