示例#1
0
 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);
 }
示例#2
0
 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);
     }
 }