public AddOperationPage(FinancePage main) { On <iOS>().SetModalPresentationStyle(UIModalPresentationStyle.FormSheet); Main = main; InitializeComponent(); SegmentedControl.OnSegmentSelected += operation_Selected; if (Device.RuntimePlatform == Device.iOS) { bar.IsVisible = true; } }
public FinanceInfoPage(Money money, FinancePage financePage) { FinancePage = financePage; Money = money; InitializeComponent(); allMoneyLabel.Text = string.Format($"{Money.AllMoney:N}"); currentMoneyLabel.Text = string.Format($"{Money.CurrentMoney:N}");; spentMoneyLabel.Text = string.Format($"{Money.AllMoney - Money.CurrentMoney:N}"); Animation = new Rg.Plugins.Popup.Animations.MoveAnimation() { DurationIn = 200, DurationOut = 200 }; }