private void buttonFloat_Click(object sender, RoutedEventArgs e) { RegisterContextMenu.IsOpen = false; if (PosDialogWindow.ShowDialog( Types.Strings.RegisterMenuConfirmFloat, Types.Strings.Confirmation, DialogButtons.YesNo) == DialogButton.Yes) { RegisterManager.OpenCashDrawer(); RegisterManager.FloatActiveRegisterDrawer(); OrderEntryCommands.SetupNoOrderCommands(); PosDialogWindow.ShowDialog( Types.Strings.RegisterMenuNotifyFloat, Types.Strings.Notification); } OrderEntryCommands.UpdateTicketDetailCommands(); }