diff --git a/League Pass Manager/MainWindow.xaml b/League Pass Manager/MainWindow.xaml
index fbb4c04..3ea6122 100644
--- a/League Pass Manager/MainWindow.xaml
+++ b/League Pass Manager/MainWindow.xaml
@@ -9,6 +9,10 @@
mc:Ignorable="d"
Title="League Pass Manager" Height="306" Width="409" MinWidth="300" MinHeight="130" WindowStartupLocation="CenterScreen" Icon="/internet_lock_locked_padlock_password_secure_security_icon_127100.ico">
+
+
+
+
@@ -16,9 +20,32 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/League Pass Manager/MainWindow.xaml.cs b/League Pass Manager/MainWindow.xaml.cs
index dd06f15..ba8d46a 100644
--- a/League Pass Manager/MainWindow.xaml.cs
+++ b/League Pass Manager/MainWindow.xaml.cs
@@ -60,6 +60,7 @@ public class Settings
public class Account
{
public string region { get; set; }
+
public string description { get; set; }
public string userName { get; set; }
public string password { get; set; }
@@ -68,6 +69,10 @@ public class Account
public Settings settings = new Settings();
public List accounts = new List();
+
+
+
+
string password;
void saveAccounts(string password)
@@ -75,7 +80,9 @@ void saveAccounts(string password)
string jsonList = JsonConvert.SerializeObject(accounts);
string aeCiphertext = RijndaelEtM.Encrypt(jsonList, password, KeySize.Aes256);
try { File.WriteAllText(settings.filePath, aeCiphertext); }
+#pragma warning disable CS0168 // Variable is declared but never used
catch(System.UnauthorizedAccessException ex)
+#pragma warning restore CS0168 // Variable is declared but never used
{
MessageBox.Show("You dont have permission to write to " + settings.filePath + Environment.NewLine + "Change account file location in settings or launch the app as an administrator.");
}
@@ -296,5 +303,10 @@ private void passFileLocation_TextChanged(object sender, TextChangedEventArgs e)
{
}
+
+ private void datagrid1_SelectionChanged(object sender, SelectionChangedEventArgs e)
+ {
+
+ }
}
}