Ejemplo n.º 1
0
 partial void BtnStockDetails_TouchUpInside(UIButton sender)
 {
     try
     {
         ViewController_StockDetails controller = this.Storyboard.InstantiateViewController("ViewController_StockDetails") as ViewController_StockDetails;
         this.NavigationController.PushViewController(controller, true);
     }
     catch (Exception ex)
     {
         Console.Write(ex.ToString());
     }
 }
Ejemplo n.º 2
0
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            var index = indexPath.Row;

            ViewController_StockDetails controller = owner.Storyboard.InstantiateViewController("ViewController_StockDetails") as ViewController_StockDetails;

            controller.models    = models;
            controller.indexPath = indexPath;

            owner.NavigationController.PushViewController(controller, true);

            tableView.DeselectRow(indexPath, true);
        }
Ejemplo n.º 3
0
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                //UIAlertController okAlertController = UIAlertController.Create("Row Selected", models[indexPath.Row].JewelBaseDescName , UIAlertControllerStyle.Alert);
                //okAlertController.AddAction(UIAlertAction.Create("OK", UIAlertActionStyle.Default, null));
                //owner.PresentViewController(okAlertController, true, null);

                var index = indexPath.Row;

                ViewController_StockDetails controller = owner.Storyboard.InstantiateViewController("ViewController_StockDetails") as ViewController_StockDetails;

                controller.sStockNumber = models[indexPath.Row].StockNumber;
                controller.sCompanyCode = models[indexPath.Row].CompanyCode;


                //controller.indexPath = indexPath;

                //ViewController_StockDetails vs = new ViewController_StockDetails();

                owner.NavigationController.PushViewController(controller, true);

                tableView.DeselectRow(indexPath, true);
            }