我怎么设置不了ChildForm的StartPosition
我怎么设置不了ChildForm的StartPosition
哪位大神溢出点爱心啊
public partial class UserManage : SalesOrderSystem.UILib.ChildBase
{
const string FuncCode = "USERMANAGE";
const string FuncVersion = "1.00.0";
const string FuncTitle = "用户管理";
private static UserManage Instance = null;
public UserManage()
{
InitializeComponent();
}
public override void SetFunctionInfo()
{
funcInfo.Code = FuncCode;
funcInfo.Text = FuncTitle;
funcInfo.Version = FuncVersion;
}
private static bool IsCanExeMe()
{
}
public static void ExeMe(Form form)
{
if (Instance == null || Instance.IsDisposed)
{
Instance = new UserManage();
Instance.MdiParent = form;
Instance.StartPosition = FormStartPosition.CenterParent;
Instance.Show();
}
else
{