public MessageSender() { this._myTimer = new SendTimer(); this._myTimer.Elapsed += this.Send; this.InitializeFinish += this.MessageSender_InitializeFinish; }
private void MessageSender_InitializeFinish(object sender, EventArgs e) { this._myTimer = new SendTimer(); this._myTimer.Elapsed += this.Send; }