Esempio n. 1
0
        private void BusinessflowConfig_Click(object sender, RoutedEventArgs e)
        {
            if (CheckCurrentRunnerIsNotRuning())
            {
                return;
            }

            BusinessFlow bf = (BusinessFlow)((RunnerItemPage)sender).ItemObject;
            BusinessFlowRunConfigurationsPage varsPage = new BusinessFlowRunConfigurationsPage(mRunner, bf);

            varsPage.ShowAsWindow();
        }
Esempio n. 2
0
        private void BusinessflowConfig_Click(object sender, RoutedEventArgs e)
        {
            if (CheckCurrentRunnerIsNotRuning())
            {
                return;
            }

            BusinessFlow bf = (BusinessFlow)((RunnerItemPage)sender).ItemObject;
            ObservableList <BusinessFlow> prevBFs = new ObservableList <BusinessFlow>();

            for (int i = 0; i < mBusinessflowRunnerItems.IndexOf((RunnerItemPage)sender); i++)
            {
                prevBFs.Add((BusinessFlow)((RunnerItemPage)mBusinessflowRunnerItems[i]).ItemObject);
            }
            BusinessFlowRunConfigurationsPage varsPage = new BusinessFlowRunConfigurationsPage(mRunner, bf, prevBFs);

            varsPage.ShowAsWindow();
        }