You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
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;
|
|
using System.Windows.Media.Effects;
|
|
using PCScreenSavers.ViewModel;
|
|
using PCScreenSavers.Business;
|
|
|
|
namespace PCScreenSavers.Win
|
|
{
|
|
/// <summary>
|
|
/// MsgBoxWin.xaml 的交互逻辑
|
|
/// </summary>
|
|
public partial class ProgressWin : Window
|
|
{
|
|
private PlayBackManage pbm = new PlayBackManage();
|
|
private ProgressViewModel viewModel = new ProgressViewModel();
|
|
|
|
public ProgressWin()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
|
{
|
|
//BlurEffect effect = new BlurEffect();
|
|
//effect.Radius = 6;
|
|
//effect.KernelType = KernelType.Box;
|
|
//Application.Current.Windows[0].Effect = effect;
|
|
|
|
this.DataContext = viewModel;
|
|
}
|
|
|
|
private void Window_Closed(object sender, EventArgs e)
|
|
{
|
|
//Application.Current.Windows[0].Effect = null;
|
|
}
|
|
}
|
|
}
|
|
|