// method to add ballon in layout
 private void AddBallon(Ballon a)
 {
     ballons.Add(a);
     LayoutRoot.Children.Add(a);
     a.MouseLeftButtonDown += new MouseButtonEventHandler(a_MouseEnter);// left button event control
 }
Exemple #2
0
 private void AddBallon(Ballon a)// method to add ballon in layout
 {
     ballons.Add(a);
     LayoutRoot.Children.Add(a);
     a.MouseLeftButtonDown += new MouseButtonEventHandler(a_MouseEnter);// left button event control
 }
 //remove the ballon from the layout
 private void RemoveBallon(Ballon a)
 {
     LayoutRoot.Children.Remove(a);
 }
Exemple #4
0
 private void RemoveBallon(Ballon a) //remove the ballon from the layout
 {
     LayoutRoot.Children.Remove(a);
 }