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.
74 lines
1.9 KiB
74 lines
1.9 KiB
1 month ago
|
using Stone.Common;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel;
|
||
|
using System.Data;
|
||
|
using System.Drawing;
|
||
|
using System.Text;
|
||
|
using System.Windows.Forms;
|
||
|
|
||
|
namespace Stone.WinModule.BasicData
|
||
|
{
|
||
|
public partial class frmModunoAMDetail : Stone.WinModule.BasicData.frmBaseMainDetail
|
||
|
{
|
||
|
public frmModunoAMDetail()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
private void frmModunoAMDetail_Load(object sender, EventArgs e)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
public override bool GetData()
|
||
|
{
|
||
|
if (!MyValidator.IsEmpty(this.txtModunoA, "")) return false;
|
||
|
|
||
|
|
||
|
base.GetData();
|
||
|
|
||
|
|
||
|
drData["ModunoA"] = MyStrings.GetString(this.txtModunoA.Text.Trim());
|
||
|
drData["ModunoM"] = MyStrings.GetString(this.txtModunoM.Text.Trim());
|
||
|
drData["ModunoMShared"] = MyStrings.GetString(this.txtModunoMShared.Text.Trim());
|
||
|
drData["Description"] = MyStrings.GetString(this.txtDescription.Text.Trim());
|
||
|
drData["Voided"] = this.txtVoided.Checked;
|
||
|
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public override bool SetData()
|
||
|
{
|
||
|
|
||
|
if (base.SetData())
|
||
|
{
|
||
|
|
||
|
this.txtModunoA.Text = drData["ModunoA"].ToString();
|
||
|
this.txtModunoM.Text = drData["ModunoM"].ToString();
|
||
|
this.txtModunoMShared.Text = drData["ModunoMShared"].ToString();
|
||
|
this.txtDescription.Text = drData["Description"].ToString();
|
||
|
this.txtVoided.Checked = Convert.ToBoolean(drData["Voided"]);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public override void Clear()
|
||
|
{
|
||
|
base.Clear();
|
||
|
|
||
|
this.txtModunoA.Text = "";
|
||
|
this.txtModunoM.Text = "";
|
||
|
this.txtModunoMShared.Text = "";
|
||
|
this.txtDescription.Text = "";
|
||
|
|
||
|
this.txtModunoA.Focus();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|