Exemplo n.º 1
0
 private void btnThe_Click(object sender, RoutedEventArgs e)
 {
     if (ucThe == null)
     {
         ucThe = new UserControlLibrary.UCThe();
         ucThe.Init(mTransit);
     }
     spNoiDung.Children.Clear();
     spNoiDung.Children.Add(ucThe);
 }
 private void btnThe_Click(object sender, RoutedEventArgs e)
 {
     if (ucThe == null)
     {
         ucThe = new UserControlLibrary.UCThe();
         ucThe.Init(mTransit);
     }
     spNoiDung.Children.Clear();
     spNoiDung.Children.Add(ucThe);
 }