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

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