summaryrefslogtreecommitdiff
path: root/Aktywator/PBN.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-03-13 10:20:31 +0100
committeremkael <emkael@tlen.pl>2017-03-13 10:24:20 +0100
commit42c4263fb54abb9302f8ed470d0e10c3d4bb1a59 (patch)
treeae657af7b81d8125a793289712bc3f6953f5af12 /Aktywator/PBN.cs
parent183a2e900871f30313cd2540a7bfd8706f8fe723 (diff)
* confirmation dialog on hand records loading (with board set information)
Diffstat (limited to 'Aktywator/PBN.cs')
-rw-r--r--Aktywator/PBN.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Aktywator/PBN.cs b/Aktywator/PBN.cs
index f6d5393..e312d63 100644
--- a/Aktywator/PBN.cs
+++ b/Aktywator/PBN.cs
@@ -17,6 +17,11 @@ namespace Aktywator
{
get { return _count; }
}
+ private String _title;
+ public String title
+ {
+ get { return _title; }
+ }
public PBN(string filename, int lowBoard, int highBoard)
{
@@ -38,6 +43,10 @@ namespace Aktywator
this._count++;
}
}
+ if (pbn.Boards.Count > 0 && pbn.Boards[0].HasField("Event"))
+ {
+ this._title = pbn.Boards[0].GetField("Event");
+ }
}
}