Browse Subversion Repository
Diff of /branches/ProcessWatchImpl/Scone/ControlEnable.cs
Parent Directory
| Revision Log
| Patch
| 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 |
| 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 |
|
|
|