コード例 #1
0
        /// <summary>
        /// Show the modal loading dialog once the view is loaded.
        /// </summary>
        /// <param name="animated"></param>
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            _busyView = new BusyView();
            _busyView.Show("Exporting...");

            Thread thread = new Thread(ThreadEntry);
            thread.Start();
        }
コード例 #2
0
ファイル: ExportController.cs プロジェクト: yzdxs/flashback
        /// <summary>
        /// Show the modal loading dialog once the view is loaded.
        /// </summary>
        /// <param name="animated"></param>
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            _busyView = new BusyView();
            _busyView.Show("Exporting...");

            Thread thread = new Thread(ThreadEntry);

            thread.Start();
        }
コード例 #3
0
ファイル: ImportController.cs プロジェクト: yzdxs/flashback
        private void ImportClick(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(_textFieldImport.Text))
            {
                // AlertView here
                UIAlertView alertView = new UIAlertView();
                alertView.Title = "Please enter some questions to import";
                alertView.Show();
                return;
            }

            _busyView = null;

            // Show a loading view if we there's a lot of text
            if (_textFieldImport.Text.Length > 500)
            {
                _busyView = new BusyView();
                _busyView.Show("Importing...");
            }

            Thread thread = new Thread(Import);

            thread.Start();
        }
コード例 #4
0
        private void ImportClick(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(_textFieldImport.Text))
            {
                // AlertView here
                UIAlertView alertView = new UIAlertView();
                alertView.Title = "Please enter some questions to import";
                alertView.Show();
                return;
            }

            _busyView = null;

            // Show a loading view if we there's a lot of text
            if (_textFieldImport.Text.Length > 500)
            {
                _busyView = new BusyView();
                _busyView.Show("Importing...");
            }

            Thread thread = new Thread(Import);
            thread.Start();
        }