コード例 #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);
 }