LoadingWindow.xaml.cs 832 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Shapes;
  14. namespace CCDCountWpf.WpfFrom
  15. {
  16. /// <summary>
  17. /// LoadingWindow.xaml 的交互逻辑
  18. /// </summary>
  19. public partial class LoadingWindow : Window
  20. {
  21. public LoadingWindow()
  22. {
  23. InitializeComponent();
  24. this.WindowStyle = WindowStyle.None;
  25. this.AllowsTransparency = true;
  26. //this.Background = Brushes.Transparent;
  27. // 设置为最顶层窗口
  28. this.Topmost = true;
  29. }
  30. }
  31. }