using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Lskj.Core;
using System.Diagnostics;
using System.Text.RegularExpressions;
using Lskj.Business;
using Lskj.Business.Impl;
namespace Lskj.Control
{
public partial class SumPanelControl : UserControl
{
public SumPanelControl()
{
InitializeComponent();
}
#region 公共属性
///
/// 复选框控件
///
/// The check edit.
public Label labSumObj { get { return labSum; } }
#endregion
///
/// 说明:初始化布局
/// 创建人:王一帆
/// 创建日期:2021-01-13
/// 修改人:
/// 修改日期:
/// 修改备注:
/// 版本:1.0
///
/// The source of the event.
/// The instance containing the event data.
public void InitControl(int SumPanelX, int ColumnWidth, string SumText)
{
try {
pl_SumRight.Width = this.Width - SumPanelX;
this.lbTitle.Width = ColumnWidth;
this.labSum.Text = SumText;
}
catch (Exception ex)
{
string Message = ErrorMessage.PromptErrorMessage(ex);
MessageUtil.Show(Message,ex.Message);
}
}
}
}