Beispiel #1
0
        /// <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;
        }
Beispiel #2
0
 /// <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;
 }