• 大小: 0.13M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: wpf  控件  d  wp  loading  遮罩层  

资源简介

 

资源截图

代码片段和文件信息

using System;
using System.Windows;

namespace LoadingControl
{
    /// 
    /// 作者:闵辉兵
    /// 日期:2016/4/12
    /// 目的:开发一个带有遮罩层的进度条(wpf控件)
    /// 

    public class LoadingHandler
    {
        public static void Show(Window owner Action action)
        {
            LoadingHandler lh = new LoadingHandler();
            lh.Load(owner action);
        }

        public static void ReportProgress(LoadingArgs args int percent)
        {
            args.Value = percent;
            args.State = LoadingState.Handling;
            args.Change();
        }

        private void Load(Window owner Action action)
        {
            LoadingIndicator win = new LoadingIndicator();
            win.Owner = owner;
        

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      16896  2016-04-22 16:26  LoadingSolution\LoadingControl\bin\Debug\LoadingControl.dll

     文件      46592  2016-04-22 16:26  LoadingSolution\LoadingControl\bin\Debug\LoadingControl.pdb

     文件       2796  2016-04-12 08:19  LoadingSolution\LoadingControl\LoadingControl.csproj

     文件       2297  2016-04-12 08:22  LoadingSolution\LoadingControl\LoadingHandler.cs

     文件       1257  2016-04-22 16:25  LoadingSolution\LoadingControl\LoadingIndicator.xaml

     文件       3809  2016-04-12 08:22  LoadingSolution\LoadingControl\LoadingIndicator.xaml.cs

     文件       1688  2016-04-11 17:28  LoadingSolution\LoadingControl\obj\Debug\AppLibrary.csproj.FileListAbsolute.txt

     文件      16896  2016-04-11 18:36  LoadingSolution\LoadingControl\obj\Debug\AppLibrary.dll

     文件       1864  2016-04-11 18:36  LoadingSolution\LoadingControl\obj\Debug\AppLibrary.g.resources

     文件      44544  2016-04-11 18:36  LoadingSolution\LoadingControl\obj\Debug\AppLibrary.pdb

     文件        217  2016-04-11 18:36  LoadingSolution\LoadingControl\obj\Debug\AppLibrary_MarkupCompile.cache

     文件        216  2016-04-12 08:08  LoadingSolution\LoadingControl\obj\Debug\AppLibrary_MarkupCompile.i.cache

     文件         85  2016-04-11 18:36  LoadingSolution\LoadingControl\obj\Debug\AppLibrary_MarkupCompile.lref

     文件      13047  2016-06-01 15:57  LoadingSolution\LoadingControl\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       6080  2016-06-01 15:57  LoadingSolution\LoadingControl\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3015  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\GeneratedInternalTypeHelper.g.cs

     文件       3015  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\GeneratedInternalTypeHelper.g.i.cs

     文件       1718  2016-04-22 16:22  LoadingSolution\LoadingControl\obj\Debug\LoadingControl.csproj.FileListAbsolute.txt

     文件      16896  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingControl.dll

     文件       1797  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingControl.g.resources

     文件      46592  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingControl.pdb

     文件        225  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingControl_MarkupCompile.cache

     文件        225  2016-06-01 15:57  LoadingSolution\LoadingControl\obj\Debug\LoadingControl_MarkupCompile.i.cache

     文件         85  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingControl_MarkupCompile.lref

     文件       1557  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingIndicator.baml

     文件       3046  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingIndicator.g.cs

     文件       3046  2016-04-22 16:26  LoadingSolution\LoadingControl\obj\Debug\LoadingIndicator.g.i.cs

     文件       1360  2016-04-12 08:09  LoadingSolution\LoadingControl\Properties\AssemblyInfo.cs

     文件       8865  2016-04-22 16:26  LoadingSolution\LoadingControl\ValueToProcessConverter.cs

     文件       2554  2016-04-12 08:15  LoadingSolution\LoadingSolution.sln

............此处省略54个文件信息

评论

共有 条评论