コード例 #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 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 ThemesDelegate(ThemesController controller)
 {
     _controller = controller;
 }
コード例 #4
0
 public ThemesDelegate(ThemesController controller)
 {
     _controller = controller;
 }
コード例 #5
0
 public ThemesDelegate(ThemesController controller)
 {
     _controller  = controller;
     _previousRow = NSIndexPath.FromRowSection(Settings.SelectedIndex, 0);
 }
コード例 #6
0
ファイル: ThemesDelegate.cs プロジェクト: GSerjo/Seminars
		public ThemesDelegate(ThemesController controller)
		{
			_controller = controller;
			_previousRow = NSIndexPath.FromRowSection(Settings.SelectedIndex,0);
		}