Exemplo n.º 1
0
        public static void RegisterForm(ActionBlock form)
        {
            var p = FormsSpace.GetSpace(form);

            if (p != null)
            {
                p.AddForm(form);
            }
        }
Exemplo n.º 2
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     FormsSpace.RegisterForm(this);
     AccessKeyManager.AddAccessKeyPressedHandler(this, HandleScopedElementAccessKeyPressed);
 }