private void onDbUpdateMessage(object sender, DBUpdater.MessageEventArgs e) { if (this.InvokeRequired) { this.Invoke(new DBUpdater.MessageEventHandler(onDbUpdateMessage), new object[] { sender, e }); } else { addTextToMemo(e.Message); } }
private void onDbUpdateMessage(object sender, DBUpdater.MessageEventArgs e) { if (this.InvokeRequired) { this.Invoke(new DBUpdater.MessageEventHandler(onDbUpdateMessage), new object[] { sender, e }); } else { string str = "\r\n"; if (string.IsNullOrEmpty(memoEdit.Text)) { str = ""; } memoEdit.Text += (str + e.Message); } }