Пример #1
0
 // 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
 }
Пример #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
 }
Пример #3
0
 //remove the ballon from the layout
 private void RemoveBallon(Ballon a)
 {
     LayoutRoot.Children.Remove(a);
 }
Пример #4
0
 private void RemoveBallon(Ballon a) //remove the ballon from the layout
 {
     LayoutRoot.Children.Remove(a);
 }