// 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 }
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); }
private void RemoveBallon(Ballon a) //remove the ballon from the layout { LayoutRoot.Children.Remove(a); }