client/src/Iri.Modernisation.Controls/View/ContextualLinkBinder.xaml.cs
changeset 13 b5ee436add3d
parent 0 249d70e7b32d
child 28 2d4ec5ab2a40
equal deleted inserted replaced
12:513caf1637bf 13:b5ee436add3d
    43         public ContextualLinkBinder()
    43         public ContextualLinkBinder()
    44         {
    44         {
    45             // Required to initialize variables
    45             // Required to initialize variables
    46               InitializeComponent();
    46               InitializeComponent();
    47               MouseLeftButtonDown += Commands.ContextualBinderLayer.BeginBind.Execute;
    47               MouseLeftButtonDown += Commands.ContextualBinderLayer.BeginBind.Execute;
       
    48               MouseLeftButtonUp += new MouseButtonEventHandler(ContextualLinkBinder_MouseLeftButtonUp);
       
    49               
    48 
    50 
    49 
    51 
       
    52         }
       
    53 
       
    54         void ContextualLinkBinder_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
       
    55         {
       
    56             Commands.ContextualBinderLayer.BeginBind.Execute(sender, null);
    50         }
    57         }
    51         public ContextualLinkBinder(ContextualLinkBinder copy)
    58         public ContextualLinkBinder(ContextualLinkBinder copy)
    52         {
    59         {
    53             InitializeComponent();
    60             InitializeComponent();
    54             PolemicType = copy.PolemicType;
    61             PolemicType = copy.PolemicType;