diff --git a/PacticeSolution/ContentProperty/App.xaml b/PacticeSolution/ContentProperty/App.xaml new file mode 100644 index 0000000..f98fec5 --- /dev/null +++ b/PacticeSolution/ContentProperty/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/PacticeSolution/ContentProperty/App.xaml.cs b/PacticeSolution/ContentProperty/App.xaml.cs new file mode 100644 index 0000000..b886f8a --- /dev/null +++ b/PacticeSolution/ContentProperty/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace ContentProperty +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PacticeSolution/ContentProperty/AssemblyInfo.cs b/PacticeSolution/ContentProperty/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/PacticeSolution/ContentProperty/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/PacticeSolution/ContentProperty/ContentProperty.csproj b/PacticeSolution/ContentProperty/ContentProperty.csproj new file mode 100644 index 0000000..c874593 --- /dev/null +++ b/PacticeSolution/ContentProperty/ContentProperty.csproj @@ -0,0 +1,28 @@ + + + + WinExe + net6.0-windows + enable + true + + + + + + + + + + + + + ResXFileCodeGenerator + Resource.Designer.cs + + + Always + + + + diff --git a/PacticeSolution/ContentProperty/MainWindow.xaml b/PacticeSolution/ContentProperty/MainWindow.xaml new file mode 100644 index 0000000..1ca04e0 --- /dev/null +++ b/PacticeSolution/ContentProperty/MainWindow.xaml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PacticeSolution/ContentProperty/MainWindow.xaml.cs b/PacticeSolution/ContentProperty/MainWindow.xaml.cs new file mode 100644 index 0000000..639ab88 --- /dev/null +++ b/PacticeSolution/ContentProperty/MainWindow.xaml.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace ContentProperty +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/PacticeSolution/ContentProperty/Resource.Designer.cs b/PacticeSolution/ContentProperty/Resource.Designer.cs new file mode 100644 index 0000000..fb388f0 --- /dev/null +++ b/PacticeSolution/ContentProperty/Resource.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace ContentProperty { + using System; + + + /// + /// 지역화된 문자열 등을 찾기 위한 강력한 형식의 리소스 클래스입니다. + /// + // 이 클래스는 ResGen 또는 Visual Studio와 같은 도구를 통해 StronglyTypedResourceBuilder + // 클래스에서 자동으로 생성되었습니다. + // 멤버를 추가하거나 제거하려면 .ResX 파일을 편집한 다음 /str 옵션을 사용하여 ResGen을 + // 다시 실행하거나 VS 프로젝트를 다시 빌드하십시오. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resource { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resource() { + } + + /// + /// 이 클래스에서 사용하는 캐시된 ResourceManager 인스턴스를 반환합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ContentProperty.Resource", typeof(Resource).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 이 강력한 형식의 리소스 클래스를 사용하여 모든 리소스 조회에 대해 현재 스레드의 CurrentUICulture 속성을 + /// 재정의합니다. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// System.Byte[] 형식의 지역화된 리소스를 찾습니다. + /// + internal static byte[] Logo { + get { + object obj = ResourceManager.GetObject("Logo", resourceCulture); + return ((byte[])(obj)); + } + } + } +} diff --git a/PacticeSolution/ContentProperty/Resource.resx b/PacticeSolution/ContentProperty/Resource.resx new file mode 100644 index 0000000..d9bc043 --- /dev/null +++ b/PacticeSolution/ContentProperty/Resource.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + Resources\Logo.jpeg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/PacticeSolution/ContentProperty/Resources/Logo.jpeg b/PacticeSolution/ContentProperty/Resources/Logo.jpeg new file mode 100644 index 0000000..ee5e043 Binary files /dev/null and b/PacticeSolution/ContentProperty/Resources/Logo.jpeg differ diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln index c5d3c5d..315f6d3 100644 --- a/PacticeSolution/PacticeSolution.sln +++ b/PacticeSolution/PacticeSolution.sln @@ -37,6 +37,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MVVMComboBoxSample", "MVVMC EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ControlTemplateSample", "ControlTemplateSample\ControlTemplateSample.csproj", "{F96483CE-6056-4DC5-8802-CE663BACB4B4}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ContentProperty", "ContentProperty\ContentProperty.csproj", "{26DCE4C7-777A-42D4-8475-CAF9A0DC6781}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -111,6 +113,10 @@ Global {F96483CE-6056-4DC5-8802-CE663BACB4B4}.Debug|Any CPU.Build.0 = Debug|Any CPU {F96483CE-6056-4DC5-8802-CE663BACB4B4}.Release|Any CPU.ActiveCfg = Release|Any CPU {F96483CE-6056-4DC5-8802-CE663BACB4B4}.Release|Any CPU.Build.0 = Release|Any CPU + {26DCE4C7-777A-42D4-8475-CAF9A0DC6781}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {26DCE4C7-777A-42D4-8475-CAF9A0DC6781}.Debug|Any CPU.Build.0 = Debug|Any CPU + {26DCE4C7-777A-42D4-8475-CAF9A0DC6781}.Release|Any CPU.ActiveCfg = Release|Any CPU + {26DCE4C7-777A-42D4-8475-CAF9A0DC6781}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE