//MoveNextPage private void MoveNextPage() { switch (index) { case 1: ContentTransition.ShowContent(admin_guide); img4.Source = bitmap_image; img1.Source = bitmap_image_focus; index++; break; case 2: ContentTransition.ShowContent(inventory_guide); img1.Source = bitmap_image; img2.Source = bitmap_image_focus; index++; break; case 3: ContentTransition.ShowContent(report_guide); img2.Source = bitmap_image; img3.Source = bitmap_image_focus; index++; break; case 4: ContentTransition.ShowContent(change_info_guide); img3.Source = bitmap_image; img4.Source = bitmap_image_focus; index = 1; break; } }
//FirstTimeLoginGuide public FirstTimeLoginGuide() { InitializeComponent(); img1.Source = bitmap_image; img2.Source = bitmap_image; img3.Source = bitmap_image; img4.Source = bitmap_image; admin_guide = new AdminGuide(); inventory_guide = new InventoryGuide(); report_guide = new ReportGuide(); change_info_guide = new ChangeInfo(); ContentTransition.ShowContent(admin_guide); index++; img1.Source = bitmap_image_focus; }