Esempio n. 1
0
 //add event click function to all buttons
 public void AddClickEventHandler(Windows.UI.Xaml.RoutedEventHandler myMethodName)
 {
     foreach (KeyBoard key in _buttons)
     {
         key.Click += myMethodName;
     }
 }
Esempio n. 2
0
 public InProgress()
 {
     InitializeComponent();
     Loaded += new Windows.UI.Xaml.RoutedEventHandler((o, t) =>
     {
         spinner.Begin();
         foreach (var child in spinner_1.Children)
         {
             (child as Polygon).Fill = new Windows.UI.Xaml.Media.SolidColorBrush(m_color);
         }
     });
 }
Esempio n. 3
0
 public CircularItemAdd(Windows.UI.Xaml.RoutedEventHandler add_Element)
 {
     this.InitializeComponent();
     AddButton.Click += add_Element;
 }