mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-22 10:31:26 -07:00
22 lines
541 B
C#
22 lines
541 B
C#
using Bloxstrap.Integrations;
|
|
using Bloxstrap.UI.ViewModels.ContextMenu;
|
|
|
|
namespace Bloxstrap.UI.Elements.ContextMenu
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for ServerInformation.xaml
|
|
/// </summary>
|
|
public partial class ServerHistory
|
|
{
|
|
public ServerHistory(ActivityWatcher watcher)
|
|
{
|
|
var viewModel = new ServerHistoryViewModel(watcher);
|
|
|
|
viewModel.RequestCloseEvent += (_, _) => Close();
|
|
|
|
DataContext = viewModel;
|
|
InitializeComponent();
|
|
}
|
|
}
|
|
}
|