void addcontactMenuItem_Click(object sender, System.EventArgs e) { Trace.WriteLine("Entering RTCPresence.addcontactMenuItem_Click"); string uri = null; AddressDialog dlg = new AddressDialog("Add Contact"); if (dlg.ShowDialog() == DialogResult.OK) { uri = dlg.Uri; this.presenceCore.DoAddBuddy(uri); } else { Trace.WriteLine("Add Contact canceled"); } }
void addcontactMenuItem_Click(object sender, System.EventArgs e) { Trace.WriteLine("Entering RTCPresence.addcontactMenuItem_Click"); string uri = null; AddressDialog dlg = new AddressDialog("Add Contact"); if (dlg.ShowDialog() == DialogResult.OK ) { uri = dlg.Uri; this.presenceCore.DoAddBuddy(uri); } else { Trace.WriteLine("Add Contact canceled"); } }