From 42c4263fb54abb9302f8ed470d0e10c3d4bb1a59 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 13 Mar 2017 10:20:31 +0100 Subject: * confirmation dialog on hand records loading (with board set information) --- Aktywator/PBN.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Aktywator/PBN.cs') 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"); + } } } -- cgit v1.2.3