コード例 #1
0
        public override void Open()
        {
            _view = new OpenFlowSharp.OpenFlowView(AppDelegate.Instance.Window.Bounds, this);
            LoadAllImages();
            _view.ItemChanged += OnItemChanged;
            _view.ItemPicked += OnItemPicked;

            AppDelegate.Instance.Window.AddSubview(_view);
            IsOpened = true;
        }
コード例 #2
0
        public override void Open()
        {
            InitializeImageList();

            _view = new OpenFlowSharp.OpenFlowView()
            {
                Frame = AppDelegate.Instance.Window.Frame,
                Bounds = AppDelegate.Instance.Window.Bounds,
                BackgroundColor = MonoTouch.UIKit.UIColor.Blue,
                DataSource = this
            };
            _view.ItemChanged += OnItemChanged;
            _view.ItemPicked += OnItemPicked;
            //_view.Initialize();
            //_view.NumberOfImages = NumberOfImages(_view);
            AppDelegate.Instance.Window.AddSubview(_view);
            IsOpened = true;
        }