equal
deleted
inserted
replaced
26 |
26 |
27 } |
27 } |
28 |
28 |
29 void MenuClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
29 void MenuClick_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
30 { |
30 { |
31 |
31 Point p = ((MouseButtonEventArgs)e.Parameter).GetPosition(Application.Current.RootVisual); |
|
32 |
32 this.ClickMenu.Margin = new Thickness( |
33 this.ClickMenu.Margin = new Thickness( |
33 ((MouseButtonEventArgs) e.Parameter).GetPosition(this).X - 40, |
34 ((MouseButtonEventArgs) e.Parameter).GetPosition(Application.Current.RootVisual).X - 40, |
34 ((MouseButtonEventArgs) e.Parameter).GetPosition(this).Y - 40, |
35 ((MouseButtonEventArgs) e.Parameter).GetPosition(Application.Current.RootVisual).Y - 40, |
35 ClickMenu.Margin.Right, |
36 ClickMenu.Margin.Right, |
36 ClickMenu.Margin.Bottom); |
37 ClickMenu.Margin.Bottom); |
37 } |
38 } |
38 |
39 |
39 |
40 |
40 |
41 |
41 |
42 |