Update/UI/Main/Windows/Main_Windows_SetupProcess.xaml.cs

(开头部分) 22KB

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

using IWshRuntimeLibrary;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net;
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.Xml;
using Update.Common.Class;
using Update.Model;

namespace Update.UI.Main.Windows
{
    /// <summary>
    ///下载进度窗口
    /// </summary>
    public partial class Main_Windows_SetupProcess : Window
    {
        #region 构造方法
        public Main_Windows_SetupProcess()
        {
            InitializeComponent();

            netpb = new System.Windows.Controls.ProgressBar();
            netpb.Maximum = 100;
            netpb.ValueChanged += Netpb_ValueChanged;
        }


        public Main_Windows_SetupProcess(string path) : this()
        {
            setuptype = SetupType.Normal;

            pb = new System.Windows.Controls.ProgressBar();
            pb.Maximum = 100;
            pb.ValueChanged += Pb_ValueChanged;

            this.path = path;

        }
        #endregion

        #region 属性&变量

        string path = string.Empty;
        System.Windows.Controls.ProgressBar pb = null;
        System.Windows.Controls.ProgressBar netpb = null;
        //System.Windows.Controls.ProgressBar vcpb = null;

        //记录当前环境已经检测完毕  正在进行下载程序的步骤
        private bool isRunToSetup = false;
后面还有 636 行代码,解锁后查看完整代码

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

AI 解读

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

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