예제 #1
0
        void repl_CheckIn_FeatureInserted(Replication sender, int count_inserted)
        {
            if (this.InvokeRequired)
            {
                repl_responseCallback d = new repl_responseCallback(repl_CheckIn_FeatureInserted);
                this.Invoke(d, new object[] { sender, count_inserted });
            }
            else
            {
                if (panelCheckin.Visible)
                {
                    lblCounterInsert.Text = count_inserted + " Feature(s) inserted...";
                }
                if (panelReconcile.Visible)
                {
                    switch (_labelIndex)
                    {
                    case 1:
                        lblCounterInsert1.Text = count_inserted + " ->";
                        break;

                    case 2:
                        lblCounterInsert2.Text = "<- " + count_inserted;
                        break;
                    }
                }
            }
        }
예제 #2
0
 void repl_CheckIn_ConflictDetected(Replication sender, int count_confilicts)
 {
     if (this.InvokeRequired)
     {
         repl_responseCallback d = new repl_responseCallback(repl_CheckIn_ConflictDetected);
         this.Invoke(d, new object[] { sender, count_confilicts });
     }
     else
     {
         if (panelCheckin.Visible)
         {
             lblCounterConflicts.Text = count_confilicts + " Confilicts(s) detected...";
         }
         if (panelReconcile.Visible)
         {
             lblCounterConflicts1.Text = count_confilicts + " Confilicts(s) detected...";
         }
     }
 }