Пример #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);
 }