62 lines
1.6 KiB
C#
62 lines
1.6 KiB
C#
|
/*****************************************************************
|
|||
|
* Copyright (C) Knights Warrior Corporation. All rights reserved.
|
|||
|
*
|
|||
|
* Author: ʥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʿ<EFBFBD><EFBFBD>Knights Warrior<EFBFBD><EFBFBD>
|
|||
|
* 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
|
|||
|
|
|||
|
private void btnOk_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
private void btnCancel_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|