private void HandleDockyardCompleted(object sender, BuildingCompletedEventArgs args) { if (!Settings.Notify_BuildComplete.Value) { return; } var shipName = args.Ship.Name; NotifyManager.Notify( Notification.Types.BuildingCompleted, "건조 완료", string.Format("공창 제 {0} 도크의 {1} 건조가 완료되었습니다", args.DockId, shipName) ); }
private void HandleDockyardCompleted(object sender, BuildingCompletedEventArgs args) { if (!Settings.KanColleSettings.NotifyBuildingCompleted) { return; } var shipName = Settings.KanColleSettings.CanDisplayBuildingShipName ? args.Ship.Name : Resources.Common_ShipGirl; var notification = Notification.Create( Notification.Types.BuildingCompleted, Resources.Dockyard_NotificationMessage_Title, string.Format(Resources.Dockyard_NotificationMessage, args.DockId, shipName), () => WindowService.Current.MainWindow.Activate()); this.Notify(notification); }