Exemple #1
0
 public MenuPivot()
 {
     InitializeComponent();
     httpHelper = HttpHelper.GetInstance();
     int hr = USTCCardProtocol.HRESULT_OK;
     hr = InitProfilePage();
     hr = InitQueryPage();
 }
Exemple #2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            int hr = USTCCardProtocol.HRESULT_OK;
            httpHelper = HttpHelper.GetInstance();

            if (!Microsoft.Phone.Net.NetworkInformation.NetworkInterface.GetIsNetworkAvailable())
                MessageBox.Show("没用可用的网络连接,请打开网络!");
        }
Exemple #3
0
        public MainViewModel()
        {
            MainViewModel.Items = new ObservableCollection<ItemViewModel>();

            httpHelper = HttpHelper.GetInstance();
        }