public ClassListPage() { InitializeComponent(); var skill = Application.Current.Properties["Skill"] as string; title.Text = skill + title.Text; cou = CourseManager.DefaultManager; }
public TeachPage() { InitializeComponent(); lo = new LocalData(); bg.Source = ImageSource.FromResource("aqq.Image.bg1.jpg"); location1.ItemsSource = lo.librarylist; cou = CourseManager.DefaultManager; lib = LibraryManager.DefaultManager; }
public EditCourse() { InitializeComponent(); bgHel.Source = ImageSource.FromResource("aqq.Image.bg1.jpg"); data = new LocalData(); var to = Application.Current.Properties["topic"] as string; var loc = Application.Current.Properties["location"] as string; topic1.Text = to; location1.ItemsSource = data.librarylist; location1.SelectedItem = loc; cou = CourseManager.DefaultManager; }