Esempio n. 1
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     GoButton.BackgroundColor = UIColor.FromRGB(0x29, 0x80, 0xb9);
     GoButton.SetTitleColor(UIColor.White, UIControlState.Normal);
     GoButton.Layer.CornerRadius = 6f;
     OnActivation(d => d(GoButton.GetClickedObservable().Subscribe(_ => WantsToDimiss?.Invoke())));
 }
Esempio n. 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            GoButton.BackgroundColor = UIColor.FromRGB(0x29, 0x80, 0xb9);
            GoButton.SetTitleColor(UIColor.White, UIControlState.Normal);
            GoButton.Layer.CornerRadius = 6f;
            GoButton.TouchUpInside     += (sender, e) => OnWantsToDismiss();
        }