示例#1
0
//		static FlyoutNavigationController flyout;
        public static UIViewController Create()
        {
//			flyout = new FlyoutNavigationController () {
//				ForceMenuOpen = false,
//				AlwaysShowLandscapeMenu = false,
//				NavigationRoot = new RootElement("")
//				{
//					new Section(){
//						new StringElement("Sales"),
//					},
//
//				}
//			};
//			flyout.ViewControllers = new UIViewController[] {
            return(new UINavigationController(InvoiceViewController = new InvoiceViewController())
            {
                NavigationBar =
                {
                    BarStyle    = UIBarStyle.Black,
                    Translucent = true,
                }
            });
//				,
//			};
//			return flyout;
        }
示例#2
0
文件: App.cs 项目: nagyist/iPadPos
 //        static FlyoutNavigationController flyout;
 public static UIViewController Create()
 {
     //			flyout = new FlyoutNavigationController () {
     //				ForceMenuOpen = false,
     //				AlwaysShowLandscapeMenu = false,
     //				NavigationRoot = new RootElement("")
     //				{
     //					new Section(){
     //						new StringElement("Sales"),
     //					},
     //
     //				}
     //			};
     //			flyout.ViewControllers = new UIViewController[] {
     return new UINavigationController (InvoiceViewController = new InvoiceViewController ()) {
         NavigationBar = {
             BarStyle = UIBarStyle.Black,
             Translucent = true,
         }
     };
     //				,
     //			};
     //			return flyout;
 }