private void SaveSettings_Click(object sender, RoutedEventArgs e) { if (diasave.ShowDialog() == true) { EntitySilo silo = new EntitySilo(); silo.Store("BCE", sms.Auth.Settings); silo.Store("SMS", sms.Settings); silo.Save(diasave.FileName); } }
private void ImportSettings_Click(object sender, RoutedEventArgs e) { if (diaopen.ShowDialog() == true) { EntitySilo silo = new EntitySilo(); silo.Load(diaopen.FileName); silo.Fetch("BCE", sms.Auth.Settings); silo.Fetch("SMS", sms.Settings); } }