diff --git a/AddDeviceWindow.xaml.cs b/AddDeviceWindow.xaml.cs index c8c3e36..1cb2e55 100644 --- a/AddDeviceWindow.xaml.cs +++ b/AddDeviceWindow.xaml.cs @@ -17,7 +17,7 @@ namespace IPAM_NOTE { /// - /// AddDeviceWindow.xaml 的交互逻辑 + /// AddDeviceWindow.xaml 的交互逻辑11 /// public partial class AddDeviceWindow : Window { diff --git a/MainWindow.xaml b/MainWindow.xaml index 4ce613f..1091156 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -127,7 +127,7 @@ - @@ -139,9 +139,9 @@ Height="28" HorizontalAlignment="Center" Kind="ViewQuilt" /> - + Text="设备端口" />--> + Text="地址收藏" />--> - - + Text="地址收藏" />--> @@ -203,7 +204,7 @@ SelectionChanged="BottomControl_OnSelectionChanged" Style="{StaticResource MaterialDesignNavigationRailTabControl}"> - @@ -218,12 +219,12 @@ HorizontalAlignment="Center" ToolTip="数据预设" Kind="Devices" /> - + Text="获取帮助" />--> - + - @@ -335,7 +336,7 @@ - + --> diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index e78df59..efe5b8b 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -344,19 +344,19 @@ private void BottomControl_OnSelectionChanged(object sender, SelectionChangedEve switch (index) { - case 0: + //case 0: - DataPreset dataPreset = new DataPreset(); + // DataPreset dataPreset = new DataPreset(); - dataPreset.Style = (Style)FindResource("DataPresetStyle"); + // dataPreset.Style = (Style)FindResource("DataPresetStyle"); - FunctionPanel.Children.Add(dataPreset); + // FunctionPanel.Children.Add(dataPreset); - break; + // break; - case 1: + case 0: DatabaseBackup databaseBackup = new DatabaseBackup(); @@ -365,7 +365,7 @@ private void BottomControl_OnSelectionChanged(object sender, SelectionChangedEve FunctionPanel.Children.Add(databaseBackup); break; - case 2: + case 1: @@ -378,17 +378,17 @@ private void BottomControl_OnSelectionChanged(object sender, SelectionChangedEve break; - case 3: - DonationPage donationPage = new DonationPage(); + //case 3: + // DonationPage donationPage = new DonationPage(); - donationPage.Style = (Style)FindResource("DonationStyle"); + // donationPage.Style = (Style)FindResource("DonationStyle"); - FunctionPanel.Children.Add(donationPage); + // FunctionPanel.Children.Add(donationPage); - break; + // break; - case 4: + case 2: @@ -402,18 +402,18 @@ private void BottomControl_OnSelectionChanged(object sender, SelectionChangedEve break; - case 5: + //case 5: - HumanGreeting humanGreeting = new HumanGreeting(); + // HumanGreeting humanGreeting = new HumanGreeting(); - humanGreeting.Style = (Style)FindResource("HumanGreetingStyle"); + // humanGreeting.Style = (Style)FindResource("HumanGreetingStyle"); - FunctionPanel.Children.Add(humanGreeting); + // FunctionPanel.Children.Add(humanGreeting); - break; + // break; } } @@ -426,7 +426,7 @@ private void BottomControl_OnSelectionChanged(object sender, SelectionChangedEve private void AboutButton_OnClick(object sender, RoutedEventArgs e) { FunctionPanel.Children.Clear(); - BottomControl.SelectedIndex = 4; + BottomControl.SelectedIndex = 2; BottomControl_OnSelectionChanged(null,null); //About aboutPage = new About(); diff --git a/UserPages/About.xaml b/UserPages/About.xaml index 665d8df..3a24954 100644 --- a/UserPages/About.xaml +++ b/UserPages/About.xaml @@ -86,6 +86,11 @@ + + Text="原作者Github主页:https://github.com/yaobus/IPAM-NOTE.git" /> - + Text="BUG反馈QQ群:957648723" />--> + @@ -179,7 +191,7 @@ + Text="特别鸣谢!" />