public WorkflowElementDialogWindow(WorkflowElementDialog payload, bool okCancel, bool enableMinButton, bool enableMaxButton, Func<bool> onOk)
 {
     this.payload = payload;
     this.okCancel = okCancel;
     this.enableMinButton = enableMinButton;
     this.enableMaxButton = enableMaxButton;
     this.onOk = onOk;
     InitializeComponent();
 }
Beispiel #2
0
 public WorkflowElementDialogWindow(WorkflowElementDialog payload, bool okCancel, bool enableMinButton, bool enableMaxButton, Func <bool> onOk)
 {
     this.payload         = payload;
     this.okCancel        = okCancel;
     this.enableMinButton = enableMinButton;
     this.enableMaxButton = enableMaxButton;
     this.onOk            = onOk;
     InitializeComponent();
 }
        static void OnModelItemChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
        {
            WorkflowElementDialog dialog = (WorkflowElementDialog)dependencyObject;

            dialog.OnModelItemChanged(e.NewValue);
        }