Example #1
0
 private void stopSharingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ss != null)
     {
         ss.StopSharing();
         ss = null;
     }
 }
Example #2
0
 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);
 }
Example #3
0
 private void stopSharingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (ss != null)
     {
         ss.StopSharing();
         ss = null;
     }
 }
Example #4
0
 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);
 }