private void stopSharingToolStripMenuItem_Click(object sender, EventArgs e) { if (ss != null) { ss.StopSharing(); ss = null; } }
private void share_Click(object sender, EventArgs e) { if (clips.SelectedItems.Count == 0) { return; } if (ss == null) { ss = new SharingServer(); } ss.Share((ClipboardEntry)clips.SelectedItems[0].Tag); }
private void share_Click(object sender, EventArgs e) { if (clips.SelectedItems.Count == 0) return; if (ss == null) ss = new SharingServer(); ss.Share((ClipboardEntry)clips.SelectedItems[0].Tag); }