private void OnEdit(object sender, RoutedEventArgs e)
        {
            var filename = this.settingList.SelectedValue as string;

            var dialog = new ConfigTemplate(filename);

            bool?result = dialog.ShowDialog();

            if (result != null)
            {
                LoadConfigration();
                BindList();
            }
        }
        private void OnEdit(object sender, RoutedEventArgs e)
        {
            var filename = this.settingList.SelectedValue as string;

            var dialog = new ConfigTemplate( filename );

            bool? result = dialog.ShowDialog();

            if (result != null)
            {
                LoadConfigration();
                BindList();
            }
        }