private void UserControl_Loaded(object sender, RoutedEventArgs e) { 歷程cvs.Source = 歷程obs; 導覽區ViewModel = new 導覽區ViewModel(); page = 控制項操作.尋找父代<頁面繼承>(this); }
private void UserControl_Loaded(object sender, RoutedEventArgs e) { page = 控制項操作.尋找父代<頁面繼承>(this); 導覽區 = 控制項操作.用名稱尋找子代<導覽區>(page, "導覽區"); wrap = 控制項操作.用名稱尋找子代<WrapPanel>(this, "wrappanel指令區"); }