Common/LoadingManager.cs

(开头部分) 25KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using System.ComponentModel;
using System.Drawing.Drawing2D;
using FXPDFToImage.Properties;
 
namespace FXPDFToImage
{



    internal class LoadingManager
    {
        private AnsyStyle _style;
        PercentProgressBar _probar = null;
        Label _label = null;
        Control _control = null;


        /// <summary>
        /// 异步样式
        /// </summary>
        public AnsyStyle Style
        {
            get
            {
                return _style;
            }
            set
            {
                _style = value;
            }
        }

        /// <summary>
        /// GIF动画图片
        /// </summary>
        public Image LoadingImage { get; set; }

        /// <summary>
        /// 重置当前位置
        /// </summary>
        /// <param name="control"></param>
        public void ResetPosition(Control control)
        {
            if (_control != null)
            {
                Point Location = new Point((control.Width - _control.Width) / 2, (control.Height - _control.Height) / 2);
                _control.Location = Location;
            }
        }

        /// <summary>
        /// 初始化控件
        /// </summary>
        /// <param name="control"></param>
        public void InitControl(Control control)
后面还有 614 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。