示例#1
0
        private void Step_Commit_Click(object sender, RoutedEventArgs e, int stepIndex)
        {
            log.Debug("Commit Step " + stepIndex);
            mController.ConvertRecipeModel((byte)stepIndex);
            bool startCommit = mController.CommitStep(mSelectedTube, stepIndex, null, OnCommitStepComplete);

            if (startCommit)
            {
                mProgressDlg.ShowDialog();
            }
        }