diff --git a/WPF控件-16-Slider/App.xaml b/WPF控件-16-Slider/App.xaml new file mode 100644 index 0000000..a79cf39 --- /dev/null +++ b/WPF控件-16-Slider/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/WPF控件-16-Slider/App.xaml.cs b/WPF控件-16-Slider/App.xaml.cs new file mode 100644 index 0000000..a86a527 --- /dev/null +++ b/WPF控件-16-Slider/App.xaml.cs @@ -0,0 +1,12 @@ +using System.Configuration; +using System.Data; +using System.Windows; + +namespace WPF控件_16_Slider; + +/// +/// Interaction logic for App.xaml +/// +public partial class App : Application +{ +} \ No newline at end of file diff --git a/WPF控件-16-Slider/AssemblyInfo.cs b/WPF控件-16-Slider/AssemblyInfo.cs new file mode 100644 index 0000000..4a05c7d --- /dev/null +++ b/WPF控件-16-Slider/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控件-16-Slider/MainWindow.xaml b/WPF控件-16-Slider/MainWindow.xaml new file mode 100644 index 0000000..5136c80 --- /dev/null +++ b/WPF控件-16-Slider/MainWindow.xaml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WPF控件-16-Slider/MainWindow.xaml.cs b/WPF控件-16-Slider/MainWindow.xaml.cs new file mode 100644 index 0000000..e485878 --- /dev/null +++ b/WPF控件-16-Slider/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控件_16_Slider; + +/// +/// Interaction logic for MainWindow.xaml +/// +public partial class MainWindow : Window +{ + public MainWindow() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/WPF控件-16-Slider/WPF控件-16-Slider.csproj b/WPF控件-16-Slider/WPF控件-16-Slider.csproj new file mode 100644 index 0000000..4444a3b --- /dev/null +++ b/WPF控件-16-Slider/WPF控件-16-Slider.csproj @@ -0,0 +1,18 @@ + + + + WinExe + net8.0-windows + WPF控件_16_Slider + enable + enable + true + + + + + Always + + + + diff --git a/WPF控件-16-Slider/public/003540AH4M72.jpg b/WPF控件-16-Slider/public/003540AH4M72.jpg new file mode 100644 index 0000000..4aa96ac Binary files /dev/null and b/WPF控件-16-Slider/public/003540AH4M72.jpg differ diff --git a/WPF控件.sln b/WPF控件.sln index 6be98d0..5570b39 100644 --- a/WPF控件.sln +++ b/WPF控件.sln @@ -38,6 +38,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-15-ListBox2", "WP EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-16-ScrollBar", "WPF控件-16-ScrollBar\WPF控件-16-ScrollBar.csproj", "{9A8BB5B9-8A81-4A08-8293-CD3B07A6C7C7}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WPF控件-16-Slider", "WPF控件-16-Slider\WPF控件-16-Slider.csproj", "{F4A87CBB-4D40-460B-BB0E-283767B454D3}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -120,5 +122,9 @@ Global {9A8BB5B9-8A81-4A08-8293-CD3B07A6C7C7}.Debug|Any CPU.Build.0 = Debug|Any CPU {9A8BB5B9-8A81-4A08-8293-CD3B07A6C7C7}.Release|Any CPU.ActiveCfg = Release|Any CPU {9A8BB5B9-8A81-4A08-8293-CD3B07A6C7C7}.Release|Any CPU.Build.0 = Release|Any CPU + {F4A87CBB-4D40-460B-BB0E-283767B454D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4A87CBB-4D40-460B-BB0E-283767B454D3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4A87CBB-4D40-460B-BB0E-283767B454D3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4A87CBB-4D40-460B-BB0E-283767B454D3}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection EndGlobal