private void InstanceWindowsRequested(object sender, WindowsRequestedEventArgs e) { share = new RemoteSharer(e.Ip); var id = e.Windows.First().Id; var handle = windows.First(entry => entry.Item1 == id).Item3; share.Start(handle); }
public void RequestWindowTransfer(List<Window> windows) { var e = new WindowsRequestedEventArgs { Ip = this.GetIp(), Windows = windows }; this.OnWindowsRequested(e); }
private void OnWindowsRequested(WindowsRequestedEventArgs e) { if (WindowsRequested != null) { WindowsRequested(this, e); } }
private void ViewServiceWindowsRequested(object sender, WindowsRequestedEventArgs e) { this.OnWindowsRequested(e); }