private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            FormSettings frms = new FormSettings();

            frms.SetSettings(this);
            List <FormSettings> settings = new List <FormSettings>();

            settings.Add(frms);
            string json = JsonConvert.SerializeObject(settings.ToArray());

            File.WriteAllText(Environment.CurrentDirectory + "\\formsettings.json", json);
        }