示例#1
0
        void _worker_DoWork(object sender, DoWorkEventArgs e)
        {
            string      errMsg;
            Replication repl = new Replication();

            repl.ReplicationGuidsAppended += new Replication.ReplicationGuidsAppendedEventHandler(Replication_ReplicationGuidsAppended);

            if (!repl.AppendReplicationIDField(_fdb, _fc, e.Argument.ToString(), out errMsg))
            {
                MessageBox.Show("Error: " + errMsg);
            }
            _worker = null;
            CloseWindow();
        }