コード例 #1
0
 void CheckBoxServerAutoOpen_Click(object sender, RoutedEventArgs e)
 {
     if (CheckBoxServerAutoOpen.IsChecked.HasValue)
     {
         ServerMaster.NeadToConnectAuto = CheckBoxServerAutoOpen.IsChecked.Value;
     }
     ServerMaster.Save();
 }
コード例 #2
0
 void CheckBoxServerAutoOpen_Click(object sender, RoutedEventArgs e)
 {
     if (_boxCreateServerАutomatically.IsChecked.HasValue)
     {
         ServerMaster.NeadToConnectAuto = _boxCreateServerАutomatically.IsChecked.Value;
     }
     ServerMaster.Save();
 }