using System;
|
using System.Drawing;
|
|
namespace TProduct.WinFrmUI
|
{
|
public partial class InputStringDlg : DevExpress.XtraEditors.XtraForm
|
{
|
public InputStringDlg()
|
{
|
InitializeComponent();
|
lblInfo.Text = "";
|
}
|
|
|
public string InfoLabelText { set { lblInfo.Text = value; } }
|
public string StringText { get { return textBox1.Text; } set { textBox1.Text = value; } }
|
private void simpleButton2_Click(object sender, EventArgs e)
|
{
|
this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.Close();
|
}
|
|
|
|
|
private void simpleButton1_Click(object sender, EventArgs e)
|
{
|
this.DialogResult = System.Windows.Forms.DialogResult.OK;
|
this.Close();
|
}
|
|
private void SetContentDlg_Load(object sender, EventArgs e)
|
{
|
//lblInfo.Text = "123456";
|
lblInfo.ForeColor = Color.White;
|
this.BackColor = Color.Gray;// Color.FromArgb(30, Color.Gray);
|
// this.BackColor = Color.Transparent;
|
// this.tableLayoutPanel1.BackColor = Color.Transparent;// Color.FromArgb(10, Color.Blue);
|
this.AcceptButton = simpleButton3;
|
|
textBox1.Focus();
|
}
|
}
|
}
|