diff --git a/NTwain/TwainSource.cs b/NTwain/TwainSource.cs
index 6501c21..b9b2736 100644
--- a/NTwain/TwainSource.cs
+++ b/NTwain/TwainSource.cs
@@ -179,7 +179,7 @@ namespace NTwain
private set
{
_supportedCaps = value;
- OnPropertyChanged("SupportedCaps");
+ //OnPropertyChanged("SupportedCaps");
}
}
@@ -219,44 +219,44 @@ namespace NTwain
#endregion
- #region INotifyPropertyChanged Members
+ //#region INotifyPropertyChanged Members
- ///
- /// Occurs when a property value changes.
- ///
- public event PropertyChangedEventHandler PropertyChanged;
+ /////
+ ///// Occurs when a property value changes.
+ /////
+ //public event PropertyChangedEventHandler PropertyChanged;
- ///
- /// Raises the event.
- ///
- /// Name of the property.
- protected void OnPropertyChanged(string propertyName)
- {
- var syncer = _session.SynchronizationContext;
- if (syncer == null)
- {
- try
- {
- var hand = PropertyChanged;
- if (hand != null) { hand(this, new PropertyChangedEventArgs(propertyName)); }
- }
- catch { }
- }
- else
- {
- syncer.Post(o =>
- {
- try
- {
- var hand = PropertyChanged;
- if (hand != null) { hand(this, new PropertyChangedEventArgs(propertyName)); }
- }
- catch { }
- }, null);
- }
- }
+ /////
+ ///// Raises the event.
+ /////
+ ///// Name of the property.
+ //protected void OnPropertyChanged(string propertyName)
+ //{
+ // var syncer = _session.SynchronizationContext;
+ // if (syncer == null)
+ // {
+ // try
+ // {
+ // var hand = PropertyChanged;
+ // if (hand != null) { hand(this, new PropertyChangedEventArgs(propertyName)); }
+ // }
+ // catch { }
+ // }
+ // else
+ // {
+ // syncer.Post(o =>
+ // {
+ // try
+ // {
+ // var hand = PropertyChanged;
+ // if (hand != null) { hand(this, new PropertyChangedEventArgs(propertyName)); }
+ // }
+ // catch { }
+ // }, null);
+ // }
+ //}
- #endregion
+ //#endregion
#region cameras