SVN r1230
SVN-Revision: r1230
This commit is contained in:
@@ -354,4 +354,37 @@ namespace Lskj.Control
|
||||
string[] defaultArgs = string.Format(ModuleArgs.DefaultArgs, this.LabelText + "-添加", ERPInfo.Instance.UserId, ERPInfo.Instance.UserName, "0", this.Model.AddModuleId).Split('~');
|
||||
|
||||
string[] menuArgs = { string.Format(ModuleArgs.PubAddArgs, ""), "0", "", AddModuleSpec, "默认分类", "", "", "", "", "" };
|
||||
string[] args = defaultArgs
|
||||
string[] args = defaultArgs.Concat(menuArgs).ToArray();
|
||||
|
||||
IForm form = FormHelper.LoadDllForm(ResourceDynamic.PubAdd, args);
|
||||
DialogResult result = form.SubForm.ShowDialog();
|
||||
|
||||
//if (result == DialogResult.OK)
|
||||
//{
|
||||
this.SetDataSource(MainImpl.GetDataTableResult(Model.SourceSql));
|
||||
//}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 背景颜色
|
||||
/// </summary>
|
||||
/// <value>The color of the required label.</value>
|
||||
public override Color BackgroundColor
|
||||
{
|
||||
get
|
||||
{
|
||||
return TextEdit.Properties.Appearance.BackColor;
|
||||
}
|
||||
set
|
||||
{
|
||||
TextEdit.Properties.Appearance.BackColor = value;
|
||||
|
||||
Reference in New Issue
Block a user