// **************************************************// Custom code for UD01Form// Created: 2019/1/28 15:10:36// **************************************************
using System;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Windows.Forms;
using Ice.BO;
using Ice.UI;
using Ice.Lib;
using Ice.Adapters;
using Ice.Lib.Customization;
using Ice.Lib.ExtendedProps;
using Ice.Lib.Framework;
using Ice.Lib.Searches;
using Ice.UI.FormFunctions;
using Epicor.Demo;//引用類庫命名空間
public class Script
{// ** Wizard Insert Location - Do Not Remove 'Begin/End Wizard Added Module Level Variables' Comments! **// Begin Wizard Added Module Level Variables **// End Wizard Added Module Level Variables **// Add Custom Module Level Variables Here **UD01Entry obj=new UD01Entry();//實例化類public voidInitializeCustomCode(){// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Variable Initialization' lines **// Begin Wizard Added Variable Initializationobj.Initialize(csm);//調用Initialize方法,傳入csm對象// End Wizard Added Variable Initialization// Begin Wizard Added Custom Method Calls// End Wizard Added Custom Method Calls}public voidDestroyCustomCode(){// ** Wizard Insert Location - Do not delete 'Begin/End Wizard Added Object Disposal' lines **// Begin Wizard Added Object Disposalobj.Destroy();// End Wizard Added Object Disposal// Begin Custom Code Disposal// End Custom Code Disposal}private voidUD01Form_Load(object sender, EventArgs args){obj.FormLoad();}}