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.

36 lines
712 B

using System;
using System.Windows.Forms;
namespace EC.AutoWeightServer.UI.Base
{
public partial class FrmModalBase : FrmBase
{
public FrmModalBase()
{
InitializeComponent();
//不限在任务栏
this.ShowInTaskbar = false;
//禁用 右下角拖拉
this.FormBorderStyle = FormBorderStyle.FixedSingle;
//软件中心位置
this.StartPosition = FormStartPosition.CenterParent;
}
public virtual void ShowMesage(string msg)
{
}
public void FinControlChic(Control control)
{
foreach (Control control1 in control.Controls)
{
ShowMesage(control1.Name);
}
}
private void FrmModalBase_Load(object sender, EventArgs e)
{
// FinControlChic(this);
}
}
}