private void HandleRepairyardCompleted(object sender, RepairingCompletedEventArgs args) { if (!Settings.Notify_RepairComplete.Value) { return; } NotifyManager.Notify( Notification.Types.RepairingCompleted, "정비 완료", string.Format("입거 제{0}도크 {1} 정비가 완료되었습니다", args.DockId, args.Ship.Info.Name) ); }
private void HandleRepairyardCompleted(object sender, RepairingCompletedEventArgs args) { if (!Settings.KanColleSettings.NotifyRepairingCompleted) { return; } var notification = Notification.Create( Notification.Types.RepairingCompleted, Resources.Repairyard_NotificationMessage_Title, string.Format(Resources.Repairyard_NotificationMessage, args.DockId, args.Ship.Info.Name), () => WindowService.Current.MainWindow.Activate()); this.Notify(notification); }