コード例 #1
0
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            UITableViewController nextController = null;

            switch (indexPath.Row)
            {
                case 0:
                    nextController = new AspectController(_controller.chart,_chartController,UITableViewStyle.Grouped);
                    break;
                case 1:
                    nextController = new ThemesController(_controller.chart,_chartController,UITableViewStyle.Grouped);
                    break;
                case 2:
                    nextController = new ColorPalettesController(_controller.chart,_chartController,UITableViewStyle.Grouped);
                    break;
                case 3:
                    nextController = new LegendController(_controller.chart,_chartController,UITableViewStyle.Grouped);
                    break;
                case 4:
                    nextController = new ToolsController(_controller.chart,_chartController,UITableViewStyle.Grouped);
                    break;
                case 5:
                    nextController = new FunctionsController(_controller.chart,_chartController,UITableViewStyle.Grouped);
                    break;
                case 6:
                    break;
                default:
                    break;
            }

            if (nextController != null)
                _controller.NavigationController.PushViewController(nextController,true);
        }
        public AspectDataSource(AspectController parent)
        {
            _cellId         = "section1Cell";
            _section2CellId = "section2Cell";

            _parentController = parent;
            _items            = new List <AspectItem>();

            InitAdvanced();
        }
コード例 #3
0
ファイル: AspectDataSource.cs プロジェクト: GSerjo/Seminars
		public AspectDataSource(AspectController parent)
		{
			_cellId = "section1Cell";
			_section2CellId = "section2Cell";
			
			_parentController = parent;
			_items = new List<AspectItem>();
			
			InitAdvanced();
		}
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            UITableViewController nextController = null;

            switch (indexPath.Row)
            {
/*				case 0:
 * //					nextController = new SeriesTypesController(_controller.chart, _chartController ,UITableViewStyle.Grouped);
 *                                      nextController = new SeriesTypesController(UITableViewStyle.Grouped);
 *                                      break;*/
            case 0:
                nextController = new AspectController(_controller.chart, _chartController, UITableViewStyle.Grouped);
                break;

            case 1:
                nextController = new ThemesController(_controller.chart, _chartController, UITableViewStyle.Grouped);
                break;

            case 2:
                nextController = new ColorPalettesController(_controller.chart, _chartController, UITableViewStyle.Grouped);
                break;

            case 3:
                nextController = new LegendController(_controller.chart, _chartController, UITableViewStyle.Grouped);
                break;

            case 4:
                nextController = new ToolsController(_controller.chart, _chartController, UITableViewStyle.Grouped);
                break;

            case 5:
                nextController = new FunctionsController(_controller.chart, _chartController, UITableViewStyle.Grouped);
                break;

            case 6:
                nextController = new EditableTableController(UITableViewStyle.Grouped);
                break;

            default:
                break;
            }

            if (nextController != null)
            {
                _controller.NavigationController.PushViewController(nextController, true);
            }
        }
 public AspectDelegate(AspectController controller)
 {
 }
コード例 #6
0
ファイル: AspectDelegate.cs プロジェクト: GSerjo/Seminars
		public AspectDelegate(AspectController controller)
		{
			_controller = controller;	
		}