Esempio n. 1
0
        public MainForm()
            : base(false)
        {
            TheForm.Menu = null;

            var pivot = new Pivot("SETTINGS".Localize())
                            {
                                Size = new Size(480, 700),
                            };
            pivot.AddPivotItem(CreateFirstPage());
            pivot.AddPivotItem(CreateSecondPage());
            Control.AddElement(pivot);
        }
Esempio n. 2
0
        public PivotPage()
        {
            LeftMenu.DisplayText = "Back";
            LeftMenu.OnClickAction = () => this.Close();

            this.Control.ShadowedAnimationMode = Fleux.Controls.FleuxControl.ShadowedAnimationOptions.FromRight;

            var pivot = new Pivot("SETTINGS") { Size = this.Control.Size };

            pivot.AddPivotItem(new SystemPivotItem());
            pivot.AddPivotItem(new FleuxSettingsPivotItem());

            pivot.AddPivotItem(new TextPivotItem(this.Size.Width - 21));

            this.Control.AddElement(pivot.AnimateHorizontalEntrance(true));
            this.Control.EntranceDuration = 300;
        }
Esempio n. 3
0
        public SmsList()
            : base(false)
        {
            TheForm.Menu = null;

            var pivot = new Pivot("SMS")
            {
                Size = new Size(480, 700),
            };
            pivot.AddPivotItem(CreateFontPage());
            //pivot.AddPivotItem(CreateFirstPage());
            Control.AddElement(pivot);

            //FillStores();
        }