using System.Windows; using HC_APTBS.ViewModels.Dialogs; namespace HC_APTBS.Views.Dialogs { /// /// Safety warning dialog shown when the operator starts the bench motor /// while the oil pump is OFF. Equivalent to the old WCareOnRpmOn. /// public partial class RpmSafetyWarningDialog : Window { /// Creates the dialog and wires the ViewModel. public RpmSafetyWarningDialog(RpmSafetyWarningViewModel vm) { InitializeComponent(); DataContext = vm; vm.RequestClose += Close; } } }