コード例 #1
0
            public Delegate(UITableViewController aController, IHelper aHelper, IList <IOptionPage> aOptionPages, string aManualUri, UIImage aImageIcon, OptionPageAbout aOptionPageAbout)
            {
                iController      = aController;
                iHelper          = aHelper;
                iOptionPages     = aOptionPages;
                iImageIcon       = aImageIcon;
                iOptionPageAbout = aOptionPageAbout;

                iAlertViewDelegate = new AlertViewDelegate(aManualUri);
            }
コード例 #2
0
        public void Initialize()
        {
            _saveCount    = 0;
            _newFeedCount = 0;

            Delegate = new AlertViewDelegate(this);
            AddButton("Stop");
            Title = "Getting the latest feeds\nPlease wait...\n\n";
            base.Show();

            // Progress bar.
            _progressView          = new UIProgressView();
            _progressView.Frame    = new RectangleF((Bounds.Width / 2) - 50, 75, 100, 30);
            _progressView.Progress = 0;
            _progressView.Alpha    = 0f;
            AddSubview(_progressView);

            // Activity indicator, which dissapears once the download is complete
            _activityIndicator       = new UIActivityIndicatorView(UIActivityIndicatorViewStyle.White);
            _activityIndicator.Frame = new RectangleF((Bounds.Width / 2) - 7, 75, 15, 15);
            _activityIndicator.StartAnimating();
            AddSubview(_activityIndicator);
        }
コード例 #3
0
        public void Initialize()
        {
            _saveCount = 0;
            _newFeedCount = 0;

            Delegate = new AlertViewDelegate(this);
            AddButton("Stop");
            Title = "Getting the latest feeds\nPlease wait...\n\n";
            base.Show();

            // Progress bar.
            _progressView = new UIProgressView();
            _progressView.Frame = new RectangleF((Bounds.Width / 2) - 50, 75, 100, 30);
            _progressView.Progress = 0;
            _progressView.Alpha = 0f;
            AddSubview(_progressView);

            // Activity indicator, which dissapears once the download is complete
            _activityIndicator = new UIActivityIndicatorView(UIActivityIndicatorViewStyle.White);
            _activityIndicator.Frame = new RectangleF((Bounds.Width / 2) -7, 75, 15, 15);
            _activityIndicator.StartAnimating();
            AddSubview(_activityIndicator);
        }