using Bloxstrap.Integrations; using Bloxstrap.UI.ViewModels.ContextMenu; namespace Bloxstrap.UI.Elements.ContextMenu { /// /// Interaction logic for ServerInformation.xaml /// public partial class ServerHistory { public ServerHistory(ActivityWatcher watcher) { var viewModel = new ServerHistoryViewModel(watcher); viewModel.RequestCloseEvent += (_, _) => Close(); DataContext = viewModel; InitializeComponent(); } } }