using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace IReaper.Initializer{
public partial class WelcomePanel : Form
{
public WelcomePanel()
{
InitializeComponent();
}
private void InitTask(object sender,EventArgs e)
{
//
AbstractInitTask task = new StartUpCriticalCheckTask();
task.InitManager = this.initalizer1;
task.Invoke();
//ID
task = new CheckUniqueUserIDTask();
task.InitManager = this.initalizer1;
task.Invoke();
//
task = new RestoreOldRecordTask();
task.InitManager = this.initalizer1;
task.Invoke();
////xml
task = new CheckInfoXMLTask();
task.InitManager = this.initalizer1;
task.Invoke();
//
task = new CheckNewVersionTask();
task.InitManager = this.initalizer1;
task.Invoke();
//
task = new LoadRawCourseDataTask();
task.InitManager = this.initalizer1;
task.Invoke();
//
task = new LoadPersistencyCourseDataTask();
task.InitManager = this.initalizer1;
task.Invoke();
//downloadengine
task = new InitilizeDownloadEngineTask();
task.InitManager = this.initalizer1;
task.Invoke();
}
}
}
|