public static void SetBpmInfo(ResWkInfo wk, bool isNew) { DataSet ds = LstBpmInfo(isNew); wk.SetDataSource(ds); }
private void FrmTsdQuickSch_Load(object sender, EventArgs e) { this.resWkTsd = new ResWkInfo(); this.resWkTsd.Dock = DockStyle.Fill; this.panel1.Controls.Add(this.resWkTsd); }
private void UcTs_Load(object sender, EventArgs e) { this.resWkTsd = new ResWkInfo(); this.resWkTsd.Dock = DockStyle.Fill; this.panel1.Controls.Add(this.resWkTsd); }
private void UcPrint_Load(object sender, EventArgs e) { this.resWkTsd = new ResWkInfo(); this.resWkTsd.Dock = DockStyle.Fill; this.panel2.Controls.Add(this.resWkTsd); }
public UcTsdItem(string bpmName) { this._isChg = false; this._theItem = null; this.context = new ObjectNavigateContext(); this.hsCols = null; this.input = null; this.lstDocCode = null; this.lstOrder = null; this.lstUnits = null; this.ucAttr = null; this.ucNewItem = null; this._bpmName = ""; this.components = null; this.InitializeComponent(); this._bNew = true; this.lstDocCode = new ArrayList(); this.resWkTsd = new ResWkInfo(); this.resWkTsd.Dock = DockStyle.Fill; this.panel2.Controls.Add(this.resWkTsd); this.SetBtnAndPnlStatue(); this.InitUc(); this.InitIvwRelItem(); this.InitLvwBom(); if (!string.IsNullOrEmpty(bpmName)) { this._bpmName = bpmName; } }
public UcTsdItem(DEBusinessItem item) { this._isChg = false; this._theItem = null; this.context = new ObjectNavigateContext(); this.hsCols = null; this.input = null; this.lstDocCode = null; this.lstOrder = null; this.lstUnits = null; this.ucAttr = null; this.ucNewItem = null; this._bpmName = ""; this.components = null; this.InitializeComponent(); this._bNew = item == null; if (item != null) { PlArchivManage.GetRelListOfDEBizItem(item, ConstAm.TDSBOM_RELCLASS); this._theItem = item; } this.lstDocCode = new ArrayList(); this.resWkTsd = new ResWkInfo(); this.resWkTsd.Dock = DockStyle.Fill; this.panel2.Controls.Add(this.resWkTsd); this.SetBtnAndPnlStatue(); this.InitUc(); this.InitIvwRelItem(); this.InitLvwBom(); }