using Valg.EVA.Skanning.UserInterfaceElements.Help;

namespace Valg.EVA.Skanning.UserInterfaceElements.EmergencyMode
{
    
    public partial class EmergencyModeConfigurationWindow : IHelpContributor
    {
        public EmergencyModeConfigurationWindow(EmergencyModeConfigurationWindowViewModel viewModel)
        {
            InitializeComponent();
            DataContext = ViewModel = viewModel;
            viewModel.CloseWindow = Close;

        }

        public string HelpContributionId => HelpContributionIds.Nødmodus;
        public EmergencyModeConfigurationWindowViewModel ViewModel { get; set; }
    }
}
