Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ProcessWatchImpl/Scone/ControlEnable.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 43 by netseed, Mon Dec 14 14:56:59 2009 UTC revision 44 by netseed, Tue Dec 15 16:20:54 2009 UTC
# Line 1  Line 1 
1  using System;  using System.Windows;
 using System.Collections.Generic;  
 using System.Text;  
 using System.Windows;  
2  using System.Windows.Controls;  using System.Windows.Controls;
 using System.Windows.Data;  
 using System.Windows.Documents;  
 using System.Windows.Input;  
 using System.Windows.Media;  
 using System.Windows.Media.Imaging;  
 using System.Windows.Shapes;  
3  using System.Windows.Interactivity;  using System.Windows.Interactivity;
4    
5  namespace Toast.Scone  namespace Toast.Scone
# Line 35  namespace Toast.Scone Line 26  namespace Toast.Scone
26    
27                          if (IsInvert)                          if (IsInvert)
28                          {                          {
29                                  this.Target.IsEnabled = !e.NewValue;                                  Target.IsEnabled = !e.NewValue;
30                          }                          }
31                          else                          else
32                          {                          {
33                                  this.Target.IsEnabled = e.NewValue;                                  Target.IsEnabled = e.NewValue;
34                          }                          }
35                  }                  }
36    

Legend:
Removed from v.43  
changed lines
  Added in v.44

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26