private bool LoadFlow() { if (!validationData.LoadValidationFlow(sLoadFolder)) { string sMsg = ValidatorSDK.ValidationData.sFileFlow + @" doesn't exist"; MessageBox.Show(sMsg, "File load error", MessageBoxButton.OK); return(true); } return(true); }
private void LoadFlow() { if (!validationData.LoadValidationFlow(sLoadFolder)) { string sMsg = ValidatorSDK.ValidationData.sFileFlow + @" doesn't exist"; MessageBox.Show(sMsg, "File load error", MessageBoxButton.OK); } else { Flow_TreeViewItem.Items.Clear(); AddFlowsAndRules(validationData.flow, Flow_TreeViewItem); ((FlowRow)Flow_TreeViewItem.Header).RemoveFlow.IsEnabled = false; Change_FlowTreeItemsSize(Flow_TreeViewItem, tabs.ActualWidth); } }