public AddressLocationFinder(StorageScreenContent storageScreenContent) { this.storageScreenContent = storageScreenContent; }
public override void ViewDidLoad() { base.ViewDidLoad (); this.NavigationController.NavigationBar.BackgroundColor = UIColor.Clear; RectangleF neo = new RectangleF (0, 0, UIScreen.MainScreen.Bounds.Width, 1000); Background back = new Background (); View.Add (back.View); View.SendSubviewToBack (back.View); UIScrollView scrollview = new UIScrollView (View.Bounds); innerViewController = new StorageScreenContent (View.Bounds, lm, scrollview, this); innerViewController.View.UserInteractionEnabled = true; scrollview.UserInteractionEnabled = true; this.View.UserInteractionEnabled = true; scrollview.ContentSize = neo.Size; scrollview.AddSubview (innerViewController.View); scrollview.BackgroundColor = UIColor.Clear; Add (scrollview); // innerview.ContentSize = cdc.GetContentsize (); // innerview.AddSubview (cdc.View); // innerview.BackgroundColor = UIColor.Clear; // UIView mymy = this.View; // // BlackLeatherTheme.Apply (this.View); // SetPlaceholders (); // Title = MonoTouch.Foundation.NSBundle.MainBundle.LocalizedString ("Storage Data", "Storage Data"); // fillEst.MinValue = 0f; // fillEst.MaxValue = 1f; // fillEst.Value = 0.5f; // initial value // fh = new FileHandler (); // dao = new LagerDAO(); // lm = dao.readTopItem (); // lm = fh.ReadLagerData (); ShowDetails (lm); // AddContactKeyButtons (); // storageName.CommitEditing +=(sender, e) => { // lm.Name = storageName.Text; // // }; // var b = new GlassButton(bounds){ //// Font = // }; // Perform any additional setup after loading the view, typically from a nib. }