private void LoadFromJob(JobConnection jobconn, DataSynJobCommand cmd) { m_datasyn = cmd.DataSyn; m_source = cmd.Source; m_target = cmd.Target; m_jobconn = jobconn; m_cmd = cmd; m_srcModel = null; m_dstModel = null; DownloadWhenNeededAndRefresh(); }
public static void Run(JobConnection jobconn, DataSynJobCommand cmd) { var win = new DataSynForm(jobconn, cmd); win.Show(); }
public DataSynForm(JobConnection jobconn, DataSynJobCommand cmd) { Initialize(); Disposed += new EventHandler(DataSynForm_Disposed); LoadFromJob(jobconn, cmd); }