コード例 #1
0
ファイル: RunnerPage.xaml.cs プロジェクト: svendster/Ginger
        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();
        }
コード例 #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();
        }