Ejemplo n.º 1
0
        public 外部库存查询与修改(PlatformManagement.FunctionTreeNodeInfo nodeInfo)
        {
            InitializeComponent();

            //this.testLable1.Text = "跑马灯!csdn baihe_591,文字改变时,重新显示,文字改变时,重新显示,文字改变时,重新显示,文字改变时,重新显示!";

            string a = "跑马灯!csdn baihe_591,文字改变时,重新显示,文字改变时,重新显示,文字改变时,重新显示,文字改变时,重新显示!";

            string b = "";

            for (int i = 0; i < a.Length; i++)
            {
                string k = a[i].ToString() + "\n";

                b = b + k;
            }

            //testLable1.Text = b;

            //testLable1.Run();

            DataTable dtTemp = UniversalFunction.GetStorageTb();

            for (int i = 0; i < dtTemp.Rows.Count; i++)
            {
                if (dtTemp.Rows[i]["StorageID"].ToString() == "02" ||
                    dtTemp.Rows[i]["StorageID"].ToString() == "05")
                {
                    cmbStorage.Items.Add(dtTemp.Rows[i]["StorageName"].ToString());
                }
            }

            cmbStorage.Text = "";

            txtCode.OnCompleteSearch += new GlobalObject.DelegateCollection.NonArgumentHandle(txtCode_OnCompleteSearch);

            dataGridView1.DataSource = m_serverSellIn.GetOutStockInfo();
        }
Ejemplo n.º 2
0
 public 外部库存变更查询(int goodid, string stroageid)
 {
     InitializeComponent();
     dataGridView1.DataSource          = m_serverSellIn.GetOutStockInfo(goodid, stroageid);
     dataGridView1.Columns["序号"].Width = 40;
 }