public TableSource(List<TableItem> items, HomeScreen owner)
        {
            this.owner = owner;

            indexedTableItems = new Dictionary<string, List<TableItem>>();
            foreach (var t in items) {
                if (indexedTableItems.ContainsKey (t.SubHeading)) {
                    indexedTableItems[t.SubHeading].Add(t);
                } else {
                    indexedTableItems.Add (t.SubHeading, new List<TableItem>() {t});
                }
            }
            keys = indexedTableItems.Keys.ToArray ();
        }
		public TableSource (string[] items, HomeScreen owner)
		{
			this.owner = owner;

			indexedTableItems = new Dictionary<string, List<string>>();
			foreach (var t in items) {
				if (indexedTableItems.ContainsKey (t[0].ToString ())) {
					indexedTableItems[t[0].ToString ()].Add(t);
				} else {
					indexedTableItems.Add (t[0].ToString (), new List<string>() {t});
				}
			}
			keys = indexedTableItems.Keys.ToArray ();
		}
Exemple #3
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.MakeKeyAndVisible();

            iPhoneHome            = new HomeScreen();
            iPhoneHome.View.Frame = new System.Drawing.RectangleF(0
                                                                  , UIApplication.SharedApplication.StatusBarFrame.Height
                                                                  , UIScreen.MainScreen.ApplicationFrame.Width
                                                                  , UIScreen.MainScreen.ApplicationFrame.Height);

            window.RootViewController       = iPhoneHome;
            iPhoneHome.View.BackgroundColor = UIColor.White;
            return(true);
        }
Exemple #4
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.MakeKeyAndVisible();

            iPhoneHome            = new HomeScreen();
            iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
                                                            , UIApplication.SharedApplication.StatusBarFrame.Height
                                                            , UIScreen.MainScreen.ApplicationFrame.Width
                                                            , UIScreen.MainScreen.ApplicationFrame.Height);

            window.RootViewController = iPhoneHome;

            return(true);
        }
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();
						
			iPhoneHome = new HomeScreen();
			iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
						, UIApplication.SharedApplication.StatusBarFrame.Height
						, UIScreen.MainScreen.ApplicationFrame.Width
						, UIScreen.MainScreen.ApplicationFrame.Height);
			
			window.RootViewController = iPhoneHome;
			iPhoneHome.View.BackgroundColor = UIColor.White;
			return true;
		}
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();
						
			iPhoneHome = new HomeScreen();
			iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
						, UIApplication.SharedApplication.StatusBarFrame.Height
						, UIScreen.MainScreen.ApplicationFrame.Width
						, UIScreen.MainScreen.ApplicationFrame.Height);
			
			window.AddSubview (iPhoneHome.View);
			
			return true;
		}
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            UIApplication.SharedApplication.StatusBarHidden = true;

            window = new UIWindow (UIScreen.MainScreen.Bounds);
            window.MakeKeyAndVisible ();

            iPhoneHome = new HomeScreen();

            window.RootViewController = iPhoneHome;

            RectangleF screenRect = UIScreen.MainScreen.Bounds;
            float screenWidth = screenRect.Size.Width;
            float screenHeight = screenRect.Size.Height;

            return true;
        }
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);
            window.MakeKeyAndVisible();

            iPhoneHome            = new HomeScreen();
            iPhoneHome.Title      = "Table Editing";
            iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
                                                            , UIApplication.SharedApplication.StatusBarFrame.Height
                                                            , UIScreen.MainScreen.ApplicationFrame.Width
                                                            , UIScreen.MainScreen.ApplicationFrame.Height);


            navController = new UINavigationController();
            navController.PushViewController(iPhoneHome, false);

            window.AddSubview(navController.View);

            return(true);
        }
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);
			window.MakeKeyAndVisible ();
					
			iPhoneHome = new HomeScreen();
			iPhoneHome.Title = "Table Editing";
			iPhoneHome.View.Frame = new CoreGraphics.CGRect(0
						, UIApplication.SharedApplication.StatusBarFrame.Height
						, UIScreen.MainScreen.ApplicationFrame.Width
						, UIScreen.MainScreen.ApplicationFrame.Height);
			

			navController = new UINavigationController();
			navController.PushViewController (iPhoneHome, false);

			window.AddSubview (navController.View);
			
			return true;
		}
Exemple #10
0
        public TableSource(List <TableItem> items, HomeScreen owner)
        {
            this.owner = owner;

            indexedTableItems = new Dictionary <string, List <TableItem> >();
            foreach (var t in items)
            {
                if (indexedTableItems.ContainsKey(t.SubHeading))
                {
                    indexedTableItems[t.SubHeading].Add(t);
                }
                else
                {
                    indexedTableItems.Add(t.SubHeading, new List <TableItem>()
                    {
                        t
                    });
                }
            }
            keys = indexedTableItems.Keys.ToArray();
        }
Exemple #11
0
        public TableSource(string[] items, HomeScreen owner)
        {
            this.owner = owner;

            indexedTableItems = new Dictionary <string, List <string> >();
            foreach (var t in items)
            {
                if (indexedTableItems.ContainsKey(t[0].ToString()))
                {
                    indexedTableItems[t[0].ToString()].Add(t);
                }
                else
                {
                    indexedTableItems.Add(t[0].ToString(), new List <string>()
                    {
                        t
                    });
                }
            }
            keys = indexedTableItems.Keys.ToArray();
        }
		public TableSource (string[] items, HomeScreen owner)
		{
			tableItems = items;
			this.owner = owner;
		}
Exemple #13
0
 public TableSource(string[] items, HomeScreen owner)
 {
     tableItems = items;
     this.owner = owner;
 }
 public TableSource(List<TableItem> items, HomeScreen owner)
 {
     tableItems = items;
     this.owner = owner;
 }
Exemple #15
0
 public TableSource(List <TableItem> items, HomeScreen owner)
 {
     tableItems = items;
     this.owner = owner;
 }