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