SVN r1165
SVN-Revision: r1165
This commit is contained in:
@@ -38,34 +38,26 @@ namespace Lskj.AutoUpdate
|
||||
{
|
||||
|
||||
InitializeComponent();
|
||||
this.panel4.Visible = false;
|
||||
this.Height = this.Height - this.panel4.Height;
|
||||
downloadFileList = downloadfileList;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>说明:窗口加载</para>
|
||||
/// <para>创建人:龚宇超</para>
|
||||
/// <para>创建日期:2018-02-23 </para>
|
||||
/// <para>修改人:</para>
|
||||
/// <para>修改日期:</para>
|
||||
/// <para>修改备注:</para>
|
||||
/// <para>版本:1.0</para>
|
||||
/// </summary>
|
||||
/// <param name="sender">The sender.</param>
|
||||
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
|
||||
private void OnLoad(object sender, EventArgs e)
|
||||
public FrmMain(List<DownloadFileInfo> downloadfileList, string text)
|
||||
{
|
||||
|
||||
foreach (DownloadFileInfo file in this.downloadFileList)
|
||||
InitializeComponent();
|
||||
downloadFileList = downloadfileList;
|
||||
if (!string.IsNullOrWhiteSpace(text))
|
||||
{
|
||||
ListViewItem item = new ListViewItem(new string[] { file.FileName, file.LastVersion, file.Size.ToString() });
|
||||
}
|
||||
this.Activate();
|
||||
this.Focus();
|
||||
}
|
||||
//this.richTextBox.Enabled = false;
|
||||
this.richTextBox.ReadOnly = true;
|
||||
this.richTextBox.SelectionLength = 0; // 禁止选中
|
||||
this.richTextBox.Text = "更新说明:\r\n" + text;
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.panel4.Visible = false;
|
||||
this.Height = this.Height - this.panel4.Height;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user