AliDDNS/net.nutcore.aliddns/AutoUpdater/DownloadConfirm.cs
2021-01-17 23:11:14 +08:00

52 lines
1.5 KiB
C#

/*****************************************************************
* Copyright (C) Knights Warrior Corporation. All rights reserved.
*
* Author: Ê¥µîÆïÊ¿£¨Knights Warrior£©
* Email: KnightsWarrior@msn.com
* Website: http://www.cnblogs.com/KnightsWarrior/ https://github.com/knightswarrior
* Create Date: 5/8/2010
* Usage:
*
* RevisionHistory
* Date Author Description
*
*****************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace KnightsWarriorAutoupdater
{
public partial class DownloadConfirm : Form
{
#region The private fields
List<DownloadFileInfo> downloadFileList = null;
#endregion
#region The constructor of DownloadConfirm
public DownloadConfirm(List<DownloadFileInfo> downloadfileList)
{
InitializeComponent();
downloadFileList = downloadfileList;
}
#endregion
#region The private method
private void OnLoad(object sender, EventArgs e)
{
foreach (DownloadFileInfo file in this.downloadFileList)
{
ListViewItem item = new ListViewItem(new string[] { file.FileName, file.LastVer, file.Size.ToString() });
}
this.Activate();
this.Focus();
}
#endregion
}
}