You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.2 KiB
70 lines
1.2 KiB
1 month ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Text;
|
||
|
using System.Windows.Forms;
|
||
|
using Stone.Common;
|
||
|
using Stone.WinBiz.SystemData;
|
||
|
using Stone.Entity;
|
||
|
using Stone.WinBiz.BasicData;
|
||
|
|
||
|
namespace Stone.WinModule.BasicData
|
||
|
{
|
||
|
public partial class frmCarModelDetail : Stone.WinModule.BasicData.frmBaseMainDetail
|
||
|
{
|
||
|
public frmCarModelDetail()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
private void frmColorDetail_Load(object sender, EventArgs e)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public override bool GetData()
|
||
|
{
|
||
|
if (!MyValidator.IsEmpty(this.txtCode, "")) return false;
|
||
|
|
||
|
|
||
|
base.GetData();
|
||
|
|
||
|
|
||
|
drData["Code"] = MyStrings.GetString(this.txtCode.Text.Trim());
|
||
|
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public override bool SetData()
|
||
|
{
|
||
|
|
||
|
if (base.SetData())
|
||
|
{
|
||
|
this.txtCode.Text= drData["Code"].ToString();
|
||
|
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public override void Clear()
|
||
|
{
|
||
|
base.Clear();
|
||
|
|
||
|
this.txtCode.Text = "";
|
||
|
|
||
|
this.txtCode.Focus();
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|