大量更新
This commit is contained in:
22
BoreholeExtract/MainWindow.xaml.cs
Normal file
22
BoreholeExtract/MainWindow.xaml.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
namespace BoreholeExtract
|
||||
{
|
||||
/// <summary>
|
||||
/// MainWindow.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class MainWindow
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
this.DataContext = new MainViewModel();
|
||||
InitializeComponent();
|
||||
//Wpf.Ui.Appearance.SystemThemeWatcher.Watch(this);
|
||||
}
|
||||
private void ScrollToBottom()
|
||||
{
|
||||
if (LogBox.Items.Count > 0)
|
||||
{
|
||||
LogBox.ScrollIntoView(LogBox.Items[LogBox.Items.Count - 1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user