diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/App.xaml b/PacticeSolution/LabelTextBlockTextBoxSample/App.xaml new file mode 100644 index 0000000..62d401c --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/App.xaml.cs b/PacticeSolution/LabelTextBlockTextBoxSample/App.xaml.cs new file mode 100644 index 0000000..858a6ec --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/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 LabelTextBlockTextBoxSample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/AssemblyInfo.cs b/PacticeSolution/LabelTextBlockTextBoxSample/AssemblyInfo.cs new file mode 100644 index 0000000..8b5504e --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/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/LabelTextBlockTextBoxSample/LabelTextBlockTextBoxSample.csproj b/PacticeSolution/LabelTextBlockTextBoxSample/LabelTextBlockTextBoxSample.csproj new file mode 100644 index 0000000..a04a473 --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/LabelTextBlockTextBoxSample.csproj @@ -0,0 +1,36 @@ + + + + WinExe + net6.0-windows + enable + true + + + + + + + + + PreserveNewest + + + + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Never + + + + diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/MainWindow.xaml b/PacticeSolution/LabelTextBlockTextBoxSample/MainWindow.xaml new file mode 100644 index 0000000..739e722 --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/MainWindow.xaml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/MainWindow.xaml.cs b/PacticeSolution/LabelTextBlockTextBoxSample/MainWindow.xaml.cs new file mode 100644 index 0000000..2bece84 --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/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 LabelTextBlockTextBoxSample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + } +} diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/Resources.Designer.cs b/PacticeSolution/LabelTextBlockTextBoxSample/Resources.Designer.cs new file mode 100644 index 0000000..403fc3a --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// 이 코드는 도구를 사용하여 생성되었습니다. +// 런타임 버전:4.0.30319.42000 +// +// 파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면 +// 이러한 변경 내용이 손실됩니다. +// +//------------------------------------------------------------------------------ + +namespace LabelTextBlockTextBoxSample { + 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 Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 이 클래스에서 사용하는 캐시된 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("LabelTextBlockTextBoxSample.Resources", typeof(Resources).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[] telephone { + get { + object obj = ResourceManager.GetObject("telephone", resourceCulture); + return ((byte[])(obj)); + } + } + } +} diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/Resources.resx b/PacticeSolution/LabelTextBlockTextBoxSample/Resources.resx new file mode 100644 index 0000000..e646c64 --- /dev/null +++ b/PacticeSolution/LabelTextBlockTextBoxSample/Resources.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\telephone.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/PacticeSolution/LabelTextBlockTextBoxSample/Resources/telephone.png b/PacticeSolution/LabelTextBlockTextBoxSample/Resources/telephone.png new file mode 100644 index 0000000..0339319 Binary files /dev/null and b/PacticeSolution/LabelTextBlockTextBoxSample/Resources/telephone.png differ diff --git a/PacticeSolution/PacticeSolution.sln b/PacticeSolution/PacticeSolution.sln index cbfeda8..d100190 100644 --- a/PacticeSolution/PacticeSolution.sln +++ b/PacticeSolution/PacticeSolution.sln @@ -43,6 +43,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BindingSample", "BindingSam EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GridSharedSample", "GridSharedSample\GridSharedSample.csproj", "{32927DD0-81D5-48C7-BA39-3446651DF897}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LabelTextBlockTextBoxSample", "LabelTextBlockTextBoxSample\LabelTextBlockTextBoxSample.csproj", "{C1375ECE-FDD2-4C7B-B3F8-1A24F3CF051D}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -129,6 +131,10 @@ Global {32927DD0-81D5-48C7-BA39-3446651DF897}.Debug|Any CPU.Build.0 = Debug|Any CPU {32927DD0-81D5-48C7-BA39-3446651DF897}.Release|Any CPU.ActiveCfg = Release|Any CPU {32927DD0-81D5-48C7-BA39-3446651DF897}.Release|Any CPU.Build.0 = Release|Any CPU + {C1375ECE-FDD2-4C7B-B3F8-1A24F3CF051D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C1375ECE-FDD2-4C7B-B3F8-1A24F3CF051D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C1375ECE-FDD2-4C7B-B3F8-1A24F3CF051D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C1375ECE-FDD2-4C7B-B3F8-1A24F3CF051D}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE