コード例 #1
0
 /// <summary>
 /// Method for ok button of popup confirm
 /// </summary>
 private void OkPopupTapped()
 {
     IsConfirmPopupOpen = false;
     HitVisibility = true;
     ProgressBarVisibiltyOrderRepeat = Visibility.Visible;
     getAllOrdersModel = new GetAllOrdersModel(this, IdsToDelete);
 }
コード例 #2
0
        /// <summary>
        /// Method to call get all orders webservice
        /// </summary>
        private void DisplayGetAllOrders()
        {
            if (App.OrderedPillDetailsCollection.Count > 0)
            {
                OrderedPillCollection = App.OrderedPillDetailsCollection;
            }
            else
            {
                ProgressBarVisibiltyOrderRepeat = Visibility.Visible;
            }


            if (Utilities.IsConnectedToNetwork())
            {
                RepeatHistoryTitle = "RepeatHistory";
                HitVisibilityRepeat = false;
                getAllOrdersModel = new GetAllOrdersModel(this);
            }
            else
            {
                ProgressBarVisibiltyOrderRepeat = Visibility.Collapsed;
                RepeatHistoryTitle = "RepeatHistory(offline)";
                ProgressBarVisibiltyOrderRepeat = Visibility.Collapsed;
                CheckForDisabledAccount();
            }
                       
        }