diff --git a/WPF控件-6-工具提示/App.xaml b/WPF控件-6-工具提示/App.xaml new file mode 100644 index 0000000..0978bca --- /dev/null +++ b/WPF控件-6-工具提示/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WPF控件-6-工具提示/App.xaml.cs b/WPF控件-6-工具提示/App.xaml.cs new file mode 100644 index 0000000..7ac1170 --- /dev/null +++ b/WPF控件-6-工具提示/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WPF控件_6_工具提示; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/WPF控件-6-工具提示/AssemblyInfo.cs b/WPF控件-6-工具提示/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/WPF控件-6-工具提示/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) +)] \ No newline at end of file diff --git a/WPF控件-6-工具提示/MainWindow.xaml b/WPF控件-6-工具提示/MainWindow.xaml new file mode 100644 index 0000000..0280d82 --- /dev/null +++ b/WPF控件-6-工具提示/MainWindow.xaml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WPF控件-6-工具提示/MainWindow.xaml.cs b/WPF控件-6-工具提示/MainWindow.xaml.cs new file mode 100644 index 0000000..d8b087d --- /dev/null +++ b/WPF控件-6-工具提示/MainWindow.xaml.cs @@ -0,0 +1,23 @@ +using System.Text; +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 WPF控件_6_工具提示; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/WPF控件-6-工具提示/WPF控件-6-工具提示.csproj b/WPF控件-6-工具提示/WPF控件-6-工具提示.csproj new file mode 100644 index 0000000..9b623ec --- /dev/null +++ b/WPF控件-6-工具提示/WPF控件-6-工具提示.csproj @@ -0,0 +1,19 @@ + + + + WinExe + net8.0-windows + WPF控件_6_工具提示 + enable + enable + true + + + + + + Always + + + + diff --git a/WPF控件-6-工具提示/public/9b3412d16970a7749cf6cf4d6ebf5b86.jpg b/WPF控件-6-工具提示/public/9b3412d16970a7749cf6cf4d6ebf5b86.jpg new file mode 100644 index 0000000..a899a73 Binary files /dev/null and b/WPF控件-6-工具提示/public/9b3412d16970a7749cf6cf4d6ebf5b86.jpg differ diff --git a/WPF控件.sln b/WPF控件.sln index 8ce4eca..1b1434a 100644 --- a/WPF控件.sln +++ b/WPF控件.sln @@ -10,6 +10,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-4-标签", "WPF EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-5-RadioButton", "WPF控件-5-RadioButton\WPF控件-5-RadioButton.csproj", "{C3961D75-D2BF-4979-B985-1FD652CDFC0C}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-6-工具提示", "WPF控件-6-工具提示\WPF控件-6-工具提示.csproj", "{C7D48A55-D0A4-4C5C-BC04-FD9F0F39803F}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -36,5 +38,9 @@ Global {C3961D75-D2BF-4979-B985-1FD652CDFC0C}.Debug|Any CPU.Build.0 = Debug|Any CPU {C3961D75-D2BF-4979-B985-1FD652CDFC0C}.Release|Any CPU.ActiveCfg = Release|Any CPU {C3961D75-D2BF-4979-B985-1FD652CDFC0C}.Release|Any CPU.Build.0 = Release|Any CPU + {C7D48A55-D0A4-4C5C-BC04-FD9F0F39803F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7D48A55-D0A4-4C5C-BC04-FD9F0F39803F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7D48A55-D0A4-4C5C-BC04-FD9F0F39803F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7D48A55-D0A4-4C5C-BC04-FD9F0F39803F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal