diff --git a/Control/Other/CustomIconUrlDialog.xaml b/Control/Other/CustomIconUrlDialog.xaml new file mode 100644 index 0000000..46e2147 --- /dev/null +++ b/Control/Other/CustomIconUrlDialog.xaml @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Control/Other/CustomIconUrlDialog.xaml.cs b/Control/Other/CustomIconUrlDialog.xaml.cs new file mode 100644 index 0000000..9f97e14 --- /dev/null +++ b/Control/Other/CustomIconUrlDialog.xaml.cs @@ -0,0 +1,30 @@ +using GeekDesk.Util; +using GeekDesk.ViewModel; +using Microsoft.Win32; +using System; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Media.Imaging; + + +namespace GeekDesk.Control.Other +{ + /// + /// TextDialog.xaml 的交互逻辑 + /// + public partial class CustomIconUrlDialog + { + + public CustomIconUrlDialog(AppConfig appConfig) + { + this.DataContext = appConfig; + InitializeComponent(); + } + + public CustomIconUrlDialog() + { + InitializeComponent(); + } + + } +} diff --git a/Control/Other/IconInfoDialog.xaml b/Control/Other/IconInfoDialog.xaml index 59e7403..c54364f 100644 --- a/Control/Other/IconInfoDialog.xaml +++ b/Control/Other/IconInfoDialog.xaml @@ -19,12 +19,6 @@ - - - - - - diff --git a/Control/UserControls/Config/MotionControl.xaml b/Control/UserControls/Config/MotionControl.xaml index 77c7aec..a8f70da 100644 --- a/Control/UserControls/Config/MotionControl.xaml +++ b/Control/UserControls/Config/MotionControl.xaml @@ -4,7 +4,6 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:cvt="clr-namespace:GeekDesk.Converts" - xmlns:local="clr-namespace:GeekDesk.Control.UserControls" xmlns:hc="https://handyorg.github.io/handycontrol" mc:Ignorable="d" Background="AliceBlue" diff --git a/Control/UserControls/IconFont/IconPannel.xaml b/Control/UserControls/IconFont/IconPannel.xaml index 8f7e0ed..9a28711 100644 --- a/Control/UserControls/IconFont/IconPannel.xaml +++ b/Control/UserControls/IconFont/IconPannel.xaml @@ -8,7 +8,7 @@ mc:Ignorable="d" > - + diff --git a/Control/UserControls/IconFont/IconPannel.xaml.cs b/Control/UserControls/IconFont/IconPannel.xaml.cs index ace800e..93b80a4 100644 --- a/Control/UserControls/IconFont/IconPannel.xaml.cs +++ b/Control/UserControls/IconFont/IconPannel.xaml.cs @@ -23,6 +23,7 @@ namespace GeekDesk.Control.UserControls.IconFont { public IconPannel() { + //DataContext = this; InitializeComponent(); } diff --git a/Control/UserControls/PannelCard/LeftCardControl.xaml b/Control/UserControls/PannelCard/LeftCardControl.xaml index 4c44424..2862ced 100644 --- a/Control/UserControls/PannelCard/LeftCardControl.xaml +++ b/Control/UserControls/PannelCard/LeftCardControl.xaml @@ -107,7 +107,7 @@ - + - - - - +