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 SynchorizeCourseData : Form
{
public SynchorizeCourseData()
{
InitializeComponent();
}
private void InitTask(object sender, EventArgs e)
{
//xml
AbstractInitTask task = new CheckInfoXMLTask();
task.InitManager = this.initalizer1;
task.Invoke();
//
if (task.ResultObject != null && task.ResultObject.ToString() == "Modified")
{
task = new LoadRawCourseDataTask();
task.InitManager = this.initalizer1;
task.Invoke();
}
}
}
}
|