Exemplo n.º 1
0
 public override void ViewDidLoad()
 {
     base.ViewDidLoad();
     View = new LockScreenView(View.Bounds, isComplexPin);
     SetupButtonMapping();
     lockScreenView.CancelButton.TouchUpInside += CancelButtonSelected;
     lockScreenView.DeleteButton.TouchUpInside += DeleteButtonSelected;
     lockScreenView.OkButton.TouchUpInside     += OkButtonSelected;
 }
Exemplo n.º 2
0
        private void LockScreen()
        {
            this.Hide();

            var form = new LockScreenView();

            form.Show();

            form.FormClosed += (s, e) => { this.Show(); };
        }