void CheckBoxServerAutoOpen_Click(object sender, RoutedEventArgs e) { if (CheckBoxServerAutoOpen.IsChecked.HasValue) { ServerMaster.NeadToConnectAuto = CheckBoxServerAutoOpen.IsChecked.Value; } ServerMaster.Save(); }
void CheckBoxServerAutoOpen_Click(object sender, RoutedEventArgs e) { if (_boxCreateServerАutomatically.IsChecked.HasValue) { ServerMaster.NeadToConnectAuto = _boxCreateServerАutomatically.IsChecked.Value; } ServerMaster.Save(); }