private void btnDanhSachBan_Click(object sender, RoutedEventArgs e) { if (ucDanhSachBan == null) { ucDanhSachBan = new UserControlLibrary.UCDanhSachBan(mTransit); } spNoiDung.Children.Clear(); ucDanhSachBan.Height = spNoiDung.ActualHeight; ucDanhSachBan.Width = spNoiDung.ActualWidth; spNoiDung.Children.Add(ucDanhSachBan); }