38 lines
966 B
C#
38 lines
966 B
C#
using CommunityToolkit.HighPerformance;
|
|
using HeBianGu.Base.WpfBase;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
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.Shapes;
|
|
|
|
namespace HeBianGu.App.Disk
|
|
{
|
|
/// <summary>
|
|
/// WaitUploadControl.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class WaitUploadControl : UserControl
|
|
{
|
|
public WaitUploadControl()
|
|
{
|
|
InitializeComponent();
|
|
this.Loaded += OnLoaded;
|
|
}
|
|
private async void OnLoaded(object sender, RoutedEventArgs e)
|
|
{
|
|
if ( this.DataContext is SendViewModel viewModel)
|
|
{
|
|
viewModel.GetWaitUploadItems();
|
|
}
|
|
}
|
|
}
|
|
}
|