private void Account_MouseDoubleClick(object sender, MouseEventArgs e) { var args = new AccountSelectedEventArgs { AccountId = (Guid)((Control)sender).Tag, }; this.events.RaiseAccountSelected(sender, args); }
private void AccountTree_AccountSelected(object sender, AccountSelectedEventArgs e) { this.AccountSelected?.Invoke(this, e); }