SVN r654
SVN-Revision: r654
This commit is contained in:
@@ -15,6 +15,10 @@ namespace Lskj.Control
|
||||
{
|
||||
public string editValue = "";
|
||||
/// <summary>
|
||||
/// 弹出框中字体大小
|
||||
/// </summary>
|
||||
public int ListBoxFontSize = 0;
|
||||
/// <summary>
|
||||
/// 文本控件
|
||||
/// </summary>
|
||||
public TextEdit TextEdit { get { return txtEdit; } }
|
||||
@@ -185,7 +189,7 @@ namespace Lskj.Control
|
||||
|
||||
public void ShowPopup()
|
||||
{
|
||||
FrmComboxMutilPopup popup = new FrmComboxMutilPopup(this.Model, this.editValue, this.EditText, ControlObj);
|
||||
FrmComboxMutilPopup popup = new FrmComboxMutilPopup(this.Model, this.editValue, this.EditText, ControlObj, ListBoxFontSize);
|
||||
DialogResult result = popup.ShowDialog();
|
||||
if (result == DialogResult.OK)
|
||||
{
|
||||
@@ -215,41 +219,4 @@ namespace Lskj.Control
|
||||
this.ShowPopup();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message,ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private void simpleButton1_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.ShowPopup();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message,ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void simpleButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
this.editValue = this.EditText = "";
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message,ex.Message);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Control.Model.MyControl ControlObj { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user