File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
using ClientLib;
using ClientLib.CommonService;
using DevExpress.XtraEditors;
using DevExpress.XtraTreeList;
using DevExpress.XtraTreeList.Nodes;
using PublicLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace HANMI_WORK
{
public partial class POPWorkOrder : CommonMDI
{
public POPWorkOrder()
{
InitializeComponent();
dateEdit_WORK_DATE.DateTime = DateTime.Now;
this.Shown += (sender, e) =>
{
searchProc();
};
}
public override void searchProc()
{
try
{
this.Cursor = Cursors.WaitCursor;
gridControl_Main.DataSource = null;
SerializedSqlParam[] aParam = new SerializedSqlParam[] {
ClientClass.CreateSqlParameter("COMP_CD", SqlDbType.NVarChar, ConstClass._COMP_CD),
ClientClass.CreateSqlParameter("WORK_DATE", SqlDbType.NVarChar, dateEdit_WORK_DATE.Text),
};
ResultData result = ClientClass.GetData("GetPOPWorkOrder", aParam);
if (result.isError)
{
throw new Exception(result.ResultValue);
}
gridControl_Main.DataSource = result.TableData;
this.Cursor = Cursors.Arrow;
}
catch (Exception ex)
{
this.Cursor = Cursors.Arrow;
MessageBox.Show(ex.Message);
}
}
}
}