Exemplo n.º 1
0
 public static void SetBpmInfo(ResWkInfo wk, bool isNew)
 {
     DataSet ds = LstBpmInfo(isNew);
     wk.SetDataSource(ds);
 }
Exemplo n.º 2
0
 private void FrmTsdQuickSch_Load(object sender, EventArgs e)
 {
     this.resWkTsd = new ResWkInfo();
     this.resWkTsd.Dock = DockStyle.Fill;
     this.panel1.Controls.Add(this.resWkTsd);
 }
Exemplo n.º 3
0
 private void UcTs_Load(object sender, EventArgs e)
 {
     this.resWkTsd      = new ResWkInfo();
     this.resWkTsd.Dock = DockStyle.Fill;
     this.panel1.Controls.Add(this.resWkTsd);
 }
Exemplo n.º 4
0
 private void UcPrint_Load(object sender, EventArgs e)
 {
     this.resWkTsd = new ResWkInfo();
     this.resWkTsd.Dock = DockStyle.Fill;
     this.panel2.Controls.Add(this.resWkTsd);
 }
Exemplo n.º 5
0
 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;
     }
 }
Exemplo n.º 6
0
 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();
 }