private void autoStart_CheckBox_Click(object sender, RoutedEventArgs e) { if ((bool)checkBox.IsChecked) { _showMainWindow.Autorun(true); ps.Autorun = true; } else { _showMainWindow.Autorun(false); ps.Opacity = false; } }
private void autoStart_CheckBox_Click(object sender, RoutedEventArgs e) { if ((bool)checkBox.IsChecked) { _showMainWindow.Autorun(true); ps.Autorun = true; } else { _showMainWindow.Autorun(false); ps.Opacity = false; } }