/// <summary> /// Raises the <see cref="LoadItemsSource"/> event. /// </summary> /// <param name="e">The <see cref="Ocean.Wpf.Controls.LoadItemsSourceRoutedEventArgs"/> instance containing the event data.</param> protected virtual void OnLoadItemsSource(LoadItemsSourceRoutedEventArgs e) { LoadItemsSource_RaiseEvent(this, e); //Karl commented this out so that a record would not be loaded //on the host form until the user actually selected a record. //Me.RaiseEvent(New RecordSelectedRoutedEventArgs(AjaxStyleComboBox.RecordSelectedRoutedEvent, Me, Me.SelectedValue)) }
/// <summary> /// Handles the RaiseEvent event of the LoadItemsSource control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="Ocean.Wpf.Controls.LoadItemsSourceRoutedEventArgs"/> instance containing the event data.</param> public void LoadItemsSource_RaiseEvent(Object sender, LoadItemsSourceRoutedEventArgs e) { this.RaiseEvent(e); }