Example #1
0
 public static void AddKeyboardFocusNotifyHandler(this SnapBlockDialog obj, KeyboardFocusNotify cb)
 {
     //JAM.StartCall();
     //_BlockDialogKeyboardFocusNotifyAdapter adapter = new _BlockDialogKeyboardFocusNotifyAdapter(cb);
     //_KeyboardFocusNotify notify = new _KeyboardFocusNotify(adapter.Execute);
     //GCHandle.Alloc(notify);
     //int status = JA_BLOCK_STYLER_DIALOG_add_keyboard_focus_notify_handler(base.Handle, notify);
     //if (status != 0)
     //{
     //    throw NXException.Create(status);
     //}
 }
Example #2
0
 public static void AddEnableOKButtonHandler(this SnapBlockDialog obj, EnableOKButton cb)
 {
     //JAM.StartCall();
     //_BlockDialogEnableOKButtonAdapter adapter = new _BlockDialogEnableOKButtonAdapter(cb);
     //_EnableOKButton button = new _EnableOKButton(adapter.Execute);
     //GCHandle.Alloc(button);
     //int status = JA_BLOCK_STYLER_DIALOG_AddEnableOKButtonHandler(base.Handle, button);
     //if (status != 0)
     //{
     //    throw NXException.Create(status);
     //}
 }