| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using Core.Mes.Client.Comm.Control;
- using Core.Mes.Client.Comm.Server;
- using Core.Mes.Client.Comm.Tool;
- using CoreFS.CA06;
- namespace Core.StlMes.Client.YdmBcPipeManage
- {
- public partial class FrmStorageInfo : FrmBase
- {
- public FrmStorageInfo()
- {
- InitializeComponent();
-
- }
- public override void ToolBar_Click(object sender, string ToolbarKey)
- {
- switch (ToolbarKey)
- {
- case "Query":
- doQuery();
- break;
- case "Close":
- this.Close();
- break;
- }
- }
- private string[] arr = null;//仓库权限
- public void doQuery() {
- this.dataTable1.Clear();
- ArrayList list = new ArrayList();
- list.Add(this.txtSTORAGE_NAME.Text.ToString().Trim());
- list.Add(this.txtLOCATION_NAME.Text.ToString().Trim());
- DataTable dt = ServerHelper.GetData("com.steering.ydm.bc.FrmStorageInfo.doQuery", new Object[] { arr,list}, this.ob);
- GridHelper.CopyDataToDatatable(ref dt, ref this.dataTable1, true);
- }
- private void FrmStorageInfo_Load(object sender, EventArgs e)
- {
- arr = BaseMethod.WarehousePermissionsStore(this.ValidDataPurviewIds, ob);
- GridHelper.SetAllColumnsActive(ultraGrid1);
- }
- }
- }
|