public override void ViewDidLoad()
        {
            //base.ViewDidLoad ();
            UIBarButtonItem button = new UIBarButtonItem();

            button.Title = "Settings";
            this.Title   = "TeeChart";

            button.Clicked += delegate(object sender, EventArgs e) {
                controller = new SettingsController(chart, this, UITableViewStyle.Grouped);
                NavigationController.PushViewController(controller, true);
            };

            this.NavigationItem.SetRightBarButtonItem(button, true);
        }
        public override void ViewDidLoad()
        {
            //base.ViewDidLoad ();
            UIBarButtonItem button= new UIBarButtonItem();
            button.Title = "Settings";
            this.Title="TeeChart";

            button.Clicked += delegate(object sender, EventArgs e) {

            controller = new SettingsController(chart,this,UITableViewStyle.Grouped);
            NavigationController.PushViewController(controller,true);
            };

              	        this.NavigationItem.SetRightBarButtonItem(button,true);
        }
 public SettingsDelegate(SettingsController controller, ChartViewController chartController)
 {
     _controller      = controller;
     _chartController = chartController;
 }
Ejemplo n.º 4
0
		public SettingsDelegate(SettingsController controller, ChartViewController chartController)
		{
			_controller = controller;	
			_chartController = chartController;
		}