private void Edit(WorkFlowItem item) { WorkflowEditorView wnd = new WorkflowEditorView(); ((WorkflowEditorViewModel)wnd.DataContext).LoadXml(item.File); wnd.ShowDialog(); LoadWorkFlows(); }
private void Edit() { WorkflowEditorView wnd = new WorkflowEditorView(); wnd.ShowDialog(); }