SVN-Revision: r569
This commit is contained in:
wyf
2025-05-09 09:32:14 +00:00
parent 8408d8a972
commit 65326b88c0
+2 -31
View File
@@ -129,7 +129,7 @@ namespace Lskj.PubAdd
height = Convert.ToInt32(item["height"] + "") > height ? height : Convert.ToInt32(item["height"] + "");//如果控件高度小于设置高度,以实际高度为准 height = Convert.ToInt32(item["height"] + "") > height ? height : Convert.ToInt32(item["height"] + "");//如果控件高度小于设置高度,以实际高度为准
if (ModuleAddControl.SplitContainerControl.PanelVisibility == SplitPanelVisibility.Both) if (ModuleAddControl.SplitContainerControl.PanelVisibility == SplitPanelVisibility.Both)
{ {
height += 200; height += 400;
} }
this.Height = height + otherHeight; this.Height = height + otherHeight;
@@ -578,33 +578,4 @@ namespace Lskj.PubAdd
/// <para>修改日期:</para> /// <para>修改日期:</para>
/// <para>修改备注:</para> /// <para>修改备注:</para>
/// <para>版本:1.0</para> /// <para>版本:1.0</para>
/// </summary> /// </
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="FormClosingEventArgs"/> instance containing the event data.</param>
protected void OnFormClosing(object sender, FormClosingEventArgs e)
{
try
{
if (this.ModuleAddControl != null && this.ModuleAddControl.IsCard)
{
this.ModuleAddControl.CloseIDCardThread();
}
this.DialogResult = DialogResult.OK;
}
catch (Exception ex)
{
string Message = ErrorMessage.PromptErrorMessage(ex);
MessageUtil.Show(Message, ex.Message);
}
}
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x02000000;
return cp;
}
}
}
}