Beispiel #1
0
 public void ShowOutdated(object syncOrchestrator, DbOutdatedEventArgs args)
 {
     if (null != _progressForm)
     {
         _progressForm.Report(args);
     }
 }
Beispiel #2
0
 public void ShowOutdated(object syncOrchestrator, DbOutdatedEventArgs args)
 {
     if (null != _progressForm)
     {
         _progressForm.Report(args);
     }
 }
        protected void Proveedor_SyncPeerOutdated(object sender, DbOutdatedEventArgs e)
        {
            String mensaje =
                string.Format(
                    "{0}:{1}\n\r{2}:{3}",
                    "\tAccion :", e.Action,
                    "\tId session:", e.Session.SessionId.ToString()
                    );

            Loguear("proveedor_SyncPeerOutdated", mensaje);
        }
        public void Report(DbOutdatedEventArgs args)
        {
            string message = "Destination is outdated";

            listSyncProgress.Items.Add(message);
            message = "Local " + args.LocalSyncKnowledge.ToString();
            listSyncProgress.Items.Add(message);
            message = "Local Cleanup " + args.LocalCleanupKnowledge.ToString();
            listSyncProgress.Items.Add(message);
            message = "Destination " + args.RemoteSyncKnowledge.ToString();
            listSyncProgress.Items.Add(message);

            Application.DoEvents();
        }
 protected abstract void SyncProviderOnSyncPeerOutdated(object sender, DbOutdatedEventArgs dbOutdatedEventArgs);
        protected void proveedor_SyncPeerOutdated(object sender, DbOutdatedEventArgs e)
        {
            String mensaje =
               string.Format(
                "{0}:{1}\n\r{2}:{3}",
                "\tAccion :", e.Action,
                "\tId session:", e.Session.SessionId.ToString()
                );

            this.loguear("proveedor_SyncPeerOutdated", mensaje);
        }
Beispiel #7
0
 protected override void SyncProviderOnSyncPeerOutdated(object sender, DbOutdatedEventArgs dbOutdatedEventArgs)
 {
     ShowMessage("Local");
 }
Beispiel #8
0
        public void Report(DbOutdatedEventArgs args)
        {
            string message = "Destination is outdated";
            listSyncProgress.Items.Add(message);
            message = "Local " + args.LocalSyncKnowledge.ToString();
            listSyncProgress.Items.Add(message);
            message = "Local Cleanup " + args.LocalCleanupKnowledge.ToString();
            listSyncProgress.Items.Add(message);
            message = "Destination " + args.RemoteSyncKnowledge.ToString();
            listSyncProgress.Items.Add(message);

            Application.DoEvents();
        }