private void Btn_Ok_Clicked(object sender, RoutedEventArgs e) { Dictionary <int, bool> temp = dic.ToDictionary(item => item.Key, item => item.Value.IsChecked != null && (bool)item.Value.IsChecked); Disk_KeepRefreshed.CreateParamsFile(temp); Close(); }
public override void Btn_Ok_Clicked() { Dictionary <int, bool> temp = dic.ToDictionary(item => item.Key, item => item.Value.IsChecked != null && (bool)item.Value.IsChecked); Disk_KeepRefreshed.CreateParamsFile(temp); Close(); }