From 2f77db1a1652fb2a72f03201fa39b3a01fe77a68 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 9 Jul 2022 15:07:34 +0200 Subject: [PATCH] Added the selected data file --- I18N Commander/UI WinForms/Loader.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/I18N Commander/UI WinForms/Loader.cs b/I18N Commander/UI WinForms/Loader.cs index b18c284..4f525ca 100644 --- a/I18N Commander/UI WinForms/Loader.cs +++ b/I18N Commander/UI WinForms/Loader.cs @@ -2,6 +2,8 @@ public partial class Loader : Form { + public string DataFile { get; set; } = string.Empty; + public Loader() { this.InitializeComponent(); @@ -9,7 +11,7 @@ public partial class Loader : Form private void loaderStart_LoadProject(object sender, string projectFilePath) { - // TODO: Call the data model + this.DataFile = projectFilePath; this.Close(); } } \ No newline at end of file