using System;
|
using System.Collections.Generic;
|
using System.ComponentModel;
|
using System.Data;
|
using System.Drawing;
|
using System.Text;
|
using System.Windows.Forms;
|
using DevExpress.XtraEditors;
|
|
namespace IStation.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()
|
{
|
|
}
|
}
|
}
|