C#/WPF
-
[WPF] AssemblySearchPathsC#/WPF 2025. 10. 15. 17:28
$(AssemblySearchPaths); /path/to/my/assemblies $(AssemblySearchPaths); ..\x64\$(Configuration) $(AssemblySearchPaths); 는 기존 설정 값을 내포.아래의 경로들(1~9)을 가짐. {CandidateAssemblyFiles}; $(ReferencePath); {HintPathFromItem}; {TargetFrameworkDirectory}; {Registry:$(FrameworkRegistryBase),$(TargetFrameworkVersion),$(AssemblyFoldersSuffix)$(AssemblyFoldersExConditions)}; {Asse..
-
[WPF] LoadingDecorator time increaseC#/WPF 2025. 9. 18. 11:27
int counter = 0; string originContent = string.Empty; void SetLoadingIndicator(bool isLoading = false, string loadingContent = "", SplashScreenLock loadingOwnerLock = SplashScreenLock.LoadingContent) { counter = 0; //LoadingContent = loadingContent; originContent = loadingContent; LoadingOwnerLock = loadingOwnerLock; IsLoading = isLoading; var timer = new System.Timers.Timer(10..
-
[WPF] .NET SDK 프로젝트에서 출력 관리C#/WPF 2025. 9. 17. 13:19
출처: https://cezarypiatek.github.io/post/managing-output-in-sdk-projects/ Managing output in the .NET SDK projectsWalkthrough of the different settings in project file responsible for content in the output dir.cezarypiatek.github.io MSBuildStructuredLoghttps://github.com/KirillOsenkov/MSBuildStructuredLog CopyLocalLockFileAssemblies=true
-
[WPF] Theme image dark , light convertC#/WPF 2025. 8. 26. 15:34
using DevExpress.DocumentServices.ServiceModel.DataContracts;using DevExpress.Xpf.Core.Native;using System;using System.Collections.Generic;using System.Globalization;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Data;using System.Windows.Media;namespace LS.DevSquare.Frame.Converter;public class ThemeImageConverter : IValueConverter{ public object Conve..
-
[WPF] Text delete button, Tags, TokenC#/WPF 2025. 8. 25. 16:15
https://stackoverflow.com/questions/37133068/c-sharp-wpf-how-to-make-a-label-with-a-delete-button-on-it C# WPF, how to make a label with a delete button on it?I'm trying to make a File Attachment function in my program, i have 2 types of attachments (Personal/Professional documents). Picture below. What i want to do now, is make the uploaded files appear...stackoverflow.com https://docs.devexpr..
-
[WPF] Progress, ProgressBarC#/WPF 2025. 8. 25. 15:28
# UnZipFileGoogle AI// 예시: ZipFileExtensions 클래스를 사용한 압축 해제using System.IO.Compression;using System.IO;using System.Threading.Tasks;using System.Windows; // 또는 다른 UI 네임스페이스// ... XAML 코드와 함께 사용할 창 클래스 안에서 ...private void UnzipFile(string zipFilePath, string extractPath){ // 메인 UI 스레드를 방해하지 않기 위해 백그라운드 스레드에서 실행 Task.Run(() => { // 파일 목록을 가져와서 총 개수 확인 (전체 크기 확인도 가능) int tota..