示例#1
0
 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();
 }
示例#2
0
        public static void Run(JobConnection jobconn, DataSynJobCommand cmd)
        {
            var win = new DataSynForm(jobconn, cmd);

            win.Show();
        }
示例#3
0
 public DataSynForm(JobConnection jobconn, DataSynJobCommand cmd)
 {
     Initialize();
     Disposed += new EventHandler(DataSynForm_Disposed);
     LoadFromJob(jobconn, cmd);
 }