private void LoadViewModel()
        {
            ViewModel = new ProfileSelectViewModel();

            _comboProfile.Items.Clear();
            _comboProfile.Items.AddRange(ViewModel.ProfileDirectories.Cast<object>().ToArray());
            if (_comboProfile.Items.Count > 0)
                _comboProfile.SelectedIndex = 0;
        }
        private void LoadViewModel()
        {
            ViewModel = new ProfileSelectViewModel();

            _comboProfile.Items.Clear();
            _comboProfile.Items.AddRange(ViewModel.ProfileDirectories.Cast <object>().ToArray());
            if (_comboProfile.Items.Count > 0)
            {
                _comboProfile.SelectedIndex = 0;
            }
        }