BlipFace.View.SettingsWindow.SettingsWindow C# (CSharp) Method

SettingsWindow() public method

public SettingsWindow ( ) : System
return System
        public SettingsWindow()
        {
            InitializeComponent();

            chbAutoLogon.IsChecked = Settings.Default.AutoLogon;
            chbAutoStart.IsChecked = Settings.Default.AutoStart;
            chbAlwaysInTray.IsChecked = Settings.Default.AlwaysInTray;
            chbMinimalizeToTray.IsChecked = Settings.Default.MinimalizeToTray;
            chbPlaySoundWhenNewStatus.IsChecked = Settings.Default.PlaySoundWhenNewStatus;
            chbHotKeyEnabled.IsChecked = Settings.Default.HotKeyEnabled;

            foreach (var key in availableKeys)
            {
                HotKeyComboBox.Items.Add(key);
            }
            HotKeyComboBox.SelectedItem = Settings.Default.HotKey.ToString();
        }