You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
913 B
44 lines
913 B
4 years ago
|
using System;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace CK.SCP.Utils
|
||
|
{
|
||
|
public partial class FormProcess : Form
|
||
|
{
|
||
|
public FormProcess()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
/// <summary>
|
||
|
/// 设置提示信息
|
||
|
/// </summary>
|
||
|
public string MessageInfo
|
||
|
{
|
||
|
set { labelInfor.Text = value; }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 设置进度条显示值
|
||
|
/// </summary>
|
||
|
public int ProcessValue
|
||
|
{
|
||
|
set { SysPBar.Value = value; }
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 设置进度条样式
|
||
|
/// </summary>
|
||
|
public ProgressBarStyle ProcessStyle
|
||
|
{
|
||
|
set { SysPBar.Style = value; }
|
||
|
}
|
||
|
|
||
|
private void FormProcess_Load(object sender, EventArgs e)
|
||
|
{
|
||
|
SysPBar.Left = 20;
|
||
|
SysPBar.Width = Width - 40;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|