using System;
|
|
namespace TProduct.WinFrmUI
|
{
|
public partial class SetNumberDlg : DevExpress.XtraEditors.XtraForm
|
{
|
public SetNumberDlg()
|
{
|
InitializeComponent();
|
}
|
|
public void IsInt()
|
{
|
spinEdit1.Properties.IsFloatValue = false;
|
}
|
|
public decimal Number { get { return spinEdit1.Value; } set { spinEdit1.Value = 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)
|
{
|
LocationDialog();
|
}
|
|
//翻译界面语言
|
private void LocationDialog()
|
{
|
|
}
|
}
|
}
|