示例#1
0
        public EvaluationForm()
        {
            InitializeComponent();

            benjaminEditButton.Enabled = false;
            kadetEditButton.Enabled    = false;
            juniorEditButton.Enabled   = false;
            studentEditButton.Enabled  = false;

            editParamsButton.Enabled = false;

            // initialize the year combo box with a list of years
            yearList = new List <int>();
            for (int year = DateTime.Now.Year; year >= 2000; year--)
            {
                yearList.Add(year);
            }
            yearComboBox.DataSource = yearList;

            chosenParameters = Parameters.CreateDefaultParameters();

            klokanBatch = new KlokanBatch();
            klokanBatch.CategoryBatches = new Dictionary <string, KlokanCategoryBatch>();

            categoryConfigurations = new Dictionary <string, CategoryBatchConfig>();
        }
示例#2
0
 public JobScheduler(TestKlokanBatch testBatch, ProgressDialog progressDialog)
 {
     batch               = null;
     this.testBatch      = testBatch;
     this.progressDialog = progressDialog;
 }
示例#3
0
 public JobScheduler(KlokanBatch batch, ProgressDialog progressDialog)
 {
     this.batch          = batch;
     testBatch           = null;
     this.progressDialog = progressDialog;
 }