C#
-
[WPF] ICollectionView, List Group viewC#/WPF 2025. 10. 30. 16:51
ex) AI Sample .cs// In your ViewModelpublic class MyViewModel : INotifyPropertyChanged{ private ObservableCollection _allItems; public ICollectionView FilteredItems { get; private set; } private string _filterText; public string FilterText { get { return _filterText; } set { if (_filterText != value) { _filterText = value; ..
-
[C#] COM Object 이해C#/기초 2025. 10. 16. 10:00
https://m.blog.naver.com/ymy203/70104910502 COM(Component Object Model)의 이해 및 개념 blog.naver.com Out-of-process https://learn.microsoft.com/en-us/samples/dotnet/samples/out-of-process-com-server/ Out-of-process COM Server Demo - Code SamplesAn implementation of an out-of-process COM server in .NET Core.learn.microsoft.com https://github.com/dotnet/samples/tr..
-
[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..
-
[EFCore] SQLite 속도 개선C#/EFCore 2025. 9. 29. 11:54
하나의 트랜잭션으로 https://learn.microsoft.com/ko-kr/ef/core/saving/transactions 트랜잭션 - EF CoreEntity Framework Core를 사용하여 데이터를 저장할 때 원자성을 위한 트랜잭션 관리learn.microsoft.com https://mangsby.com/blog/programming/sqlite-%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%B2%A0%EC%9D%B4%EC%8A%A4%EB%A5%BC-10%EB%B0%B0-%EB%B9%A0%EB%A5%B4%EA%B2%8C-%EB%A7%8C%EB%93%9C%EB%8A%94-%EB%B0%A9%EB%B2%95/ SQLite 데이터베이스를 10배 빠르게 만드는 방법들 - ..
-
[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
-
[WinForm] DPI에 따른 Image 크기 조절C#/WinForm 2025. 9. 11. 11:56
Ex):GetDpiScale 로 Dpi값 구해서ScaleImage 로 이미지 크기 적용. public static class HighDpiHelper { public static void AdjustControlImagesDpiScale(Control container) { var dpiScale = GetDpiScale(container).Value; if (CloseToOne(dpiScale)) return; AdjustControlImagesDpiScale(container.Controls, dpiScale); } private static void AdjustButtonImageDpiScale(ButtonBase button, float dpiScale) { va..