public AccountView() { InitializeComponent(); this.Closing += (o, e) => AccountViewModel.CloseWindow(e); AccountControlTab.SelectionChanged += (o, e) => AccountViewModel.AccountControlTab_SelectionChanged(o, e); }