Beispiel #1
0
        public static void RegisterForm(ActionBlock form)
        {
            var p = FormsSpace.GetSpace(form);

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