This commit is contained in:
sc committed 2024-12-20 23:27:35 +08:00
commit 418f9203de
28 files changed
+3 -2873

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<WebBrowser Name="webBrowser" />
<lvc:PieChart/>
</Grid>
<StackPanel x:Name="scr" Grid.Row="1" Height="60" Background="#FF00204E" Orientation="Horizontal">
<ListView ScrollViewer.HorizontalScrollBarVisibility="Disabled" Foreground="#FF1368BD">
+1 -15
View File
@@ -50,21 +50,7 @@ namespace SunlightCentralizedControlManagement_SCCM_.View
private void UserControl_Loaded(object sender, RoutedEventArgs e)//打开页面时的操作
{
string html = @"
<html>
<head>
<script type='text/javascript'>
function showMessage() {
alert('Hello from JavaScript!');
}
</script>
</head>
<body>
<button onclick='showMessage()'>Click Me</button>
</body>
</html>";
webBrowser.NavigateToString(html);
}