Ejemplo n.º 1
0
        public override void Open()
        {
            var jobconn = new JobConnection(File);
            var job     = jobconn.GetJob();
            var cmd     = job.Root.FindCommand(Command);

            DataSynForm.Run(jobconn, (DataSynJobCommand)cmd);
        }
Ejemplo n.º 2
0
 public void DragDrop_SynchronizeData(AppObject appobj)
 {
     if (appobj is DatabaseAppObject)
     {
         try
         {
             IDatabaseSource dsource = ((DatabaseAppObject)appobj).FindDatabaseConnection(m_appobj.ConnPack);
             DataSynForm.Run(DataSynDef.CreateEmpty(), dsource.CloneSource(), m_appobj.CreateDatabaseConnection());
         }
         catch (Exception e)
         {
             Errors.Report(e);
         }
     }
 }
Ejemplo n.º 3
0
 public override void Edit(JobConnection jobconn)
 {
     DataSynForm.Run(jobconn, this);
 }
Ejemplo n.º 4
0
 private static void ShowDataSynWindow()
 {
     DataSynForm.Run(DataSynDef.CreateEmpty(), null, null);
 }
Ejemplo n.º 5
0
 public void SynchronizeData()
 {
     DataSynForm.Run(DataSynDef.CreateEmpty(), m_appobj.CreateDatabaseConnection(), null);
 }