Пример #1
0
 public MainPage()
 {
     this.InitializeComponent();
     FMobject = new FillModel();
     DMobject = new DataModel();
     POMobject = new PoliceOfficeModel();
     FMobject.FillingModel();
     showlist.ItemsSource = FMobject.GovernrateList[0].POfficeList;
     showlist.SelectedIndex = 0;
 }
Пример #2
0
 public MainPage()
 {
     this.InitializeComponent();
     if (!IsInternet())
     {
         ShowMessage("Network Error");
     }
     FMobject = new FillModel();
     DMobject = new DataModel();
     POMobject = new PoliceOfficeModel();
     FMobject.FillingModel();
     showlist.ItemsSource = FMobject.GovernrateList[0].POfficeList;
     showlist.SelectedIndex = 0;
     book.IsChecked = true;
     MySplitViev.IsPaneOpen = false;
     MySplitViev.DisplayMode = SplitViewDisplayMode.Inline;
 }