/// <summary> /// Initializes a new instance of the <see cref="PacketSenderForm"/> class. /// </summary> /// <param name="connection">The connection.</param> public PacketSenderForm(LiveConnection connection) { this.InitializeComponent(); this.connection = connection; this.SetText(); connection.PropertyChanged += this.ConnectionOnPropertyChanged; }
/// <summary> /// Initializes a new instance of the <see cref="ClientConnectedEventArgs"/> class. /// </summary> /// <param name="connection">The connection.</param> public ClientConnectedEventArgs(LiveConnection connection) { this.Connection = connection; }