public GraphWindowModel(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) : base(displayOptions, phoneSelectOptions) { SelectedConversationIndex = NoContactSelectedIndex; SelectedGraphType = DefaultGraphType; _graphDataGenerator = new GraphDataGenerator(); _cachedCurrentGraphData = null; }
public GraphWindowModel(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) : base(displayOptions, phoneSelectOptions) { SelectedConversationIndex = NoContactSelectedIndex; SelectedGraphType = DefaultGraphType; _graphDataGenerator = new GraphDataGenerator(); _cachedCurrentGraphData = null; }
public MainWindowModelBase(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) { DisplayOptions = displayOptions; PhoneSelectOptions = phoneSelectOptions; DeviceInfo = null; ConversationManager = null; _sortedConversationList = null; }
public MainWindowModelBase(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) { DisplayOptions = displayOptions; PhoneSelectOptions = phoneSelectOptions; DeviceInfo = null; ConversationManager = null; _sortedConversationList = null; }
public PhoneSelectionView(IEnumerable <IPhoneDeviceInfo> phoneDevices, IPhoneSelectOptions displayOptions) { InitializeComponent(); SelectedPhoneInfo = null; AlwaysPrompt = displayOptions.PromptForPhoneChoice; Loaded += delegate { PopulatePhoneListBox(phoneDevices); promptForPhoneCheckBox.IsChecked = displayOptions.PromptForPhoneChoice; }; }
public OptionsDialogView(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) { InitializeComponent(); _DisplayOptions = displayOptions; _PhoneSelectOptions = phoneSelectOptions; _GeneralOptionsData = new OptionsCategoryData("General", generalOptionsPanel); _ConversationViewOptionsData = new OptionsCategoryData("Conversation View", conversationOptionsPanel); _PhoneOptionsData = new OptionsCategoryData("Phone", phoneOptionsPanel); _CurrentCategory = OptionsCategory.General; Loaded += delegate { DisplayCurrentCategory(); InitializeFields(); }; }
public OptionsDialogView(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) { InitializeComponent(); _DisplayOptions = displayOptions; _PhoneSelectOptions = phoneSelectOptions; _GeneralOptionsData = new OptionsCategoryData("General", generalOptionsPanel); _ConversationViewOptionsData = new OptionsCategoryData("Conversation View", conversationOptionsPanel); _PhoneOptionsData = new OptionsCategoryData("Phone", phoneOptionsPanel); _CurrentCategory = OptionsCategory.General; Loaded += delegate { DisplayCurrentCategory(); InitializeFields(); }; }
private void ShowSettingsDialog_Executed(object sender, ExecutedRoutedEventArgs e) { IDisplayOptions displayOptions = _mainWindowModel.DisplayOptions; IPhoneSelectOptions phoneSelectOptions = _mainWindowModel.PhoneSelectOptions; OptionsDialogView optionsDialog = new OptionsDialogView(displayOptions, phoneSelectOptions); optionsDialog.Owner = this; optionsDialog.SelectedDevice = _deviceInfo; optionsDialog.ShowDialog(); if (optionsDialog.DialogResult == true) { if (optionsDialog.SelectedDevice != _deviceInfo) { _deviceInfo = optionsDialog.SelectedDevice; PerformRefresh(); } } }
public MainWindow() { InitializeComponent(); _currentView = DefaultApplicationView; _conversationManager = null; DisplayOptions options = new DisplayOptions(); _displayOptions = options as IDisplayOptions; _displayOptions.TimeDisplayFormatPropertyChanged += OnTimeDisplayFormatPropertyChanged; _displayOptions.HideEmptyConversationsPropertyChanged += OnHideEmptyConversationsPropertyChanged; _displayOptions.MergeContactsPropertyChanged += OnMergeContactsPropertyChanged; _displayOptions.LoadMmsAttachmentsPropertyChanged += OnLoadMmsAttachmentsPropertyChanged; _displayOptions.ConversationSortingPropertyChanged += OnConversationSortingPropertyChanged; _phoneSelectOptions = options as IPhoneSelectOptions; _deviceInfo = null; conversationRenderControl.DisplayOptions = _displayOptions; conversationRenderControl.findBar.FindModel = new FindDialogModel(this); Loaded += OnLoaded; }
public MainWindow() { InitializeComponent(); _currentView = DefaultApplicationView; _conversationManager = null; DisplayOptions options = new DisplayOptions(); _displayOptions = options as IDisplayOptions; _displayOptions.TimeDisplayFormatPropertyChanged += OnTimeDisplayFormatPropertyChanged; _displayOptions.HideEmptyConversationsPropertyChanged += OnHideEmptyConversationsPropertyChanged; _displayOptions.MergeContactsPropertyChanged += OnMergeContactsPropertyChanged; _displayOptions.LoadMmsAttachmentsPropertyChanged += OnLoadMmsAttachmentsPropertyChanged; _displayOptions.ConversationSortingPropertyChanged += OnConversationSortingPropertyChanged; _phoneSelectOptions = options as IPhoneSelectOptions; _deviceInfo = null; conversationRenderControl.DisplayOptions = _displayOptions; conversationRenderControl.findBar.FindModel = new FindDialogModel(this); Loaded += OnLoaded; }
public ConversationWindowModel(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) : base(displayOptions, phoneSelectOptions) { _selectedConversationIndex = NoContactSelectedIndex; }
public ConversationWindowModel(IDisplayOptions displayOptions, IPhoneSelectOptions phoneSelectOptions) : base(displayOptions, phoneSelectOptions) { _selectedConversationIndex = NoContactSelectedIndex; }