private void txtcWhCode_MouseDoubleClick(object sender, MouseEventArgs e) { txtcWhCode.Text = iLoginEx.OpenSelectWindow("仓库", "select cWhCode as '仓库代码',cWhName as '仓库名称' from Warehouse (nolock) where cWhCode in (select cWhCode from " + iLoginEx.pubDB_UT() + "..StockClose (nolock) where cDisable=0 and cAccID='" + iLoginEx.AccID() + "')", txtcWhCode.Text, 430, 300, 1, true); }
private void txtWhCode_MouseDoubleClick(object sender, MouseEventArgs e) { txtWhCode.Text = iLoginEx.OpenSelectWindow("仓库", "select cWhCode as '仓库代码',cWhName as '仓库名称' from Warehouse (nolock) where cWhCode in (select cWhCode from " + iLoginEx.pubDB_UT() + "..StockClose (nolock) where cDisable=0 and cAccID='" + iLoginEx.AccID() + "')", txtWhCode.Text, 430, 300, 1, true); //string[] para = txtWhCode.Text.Split(new string[] { "\r\n\r\n\r\n " }, StringSplitOptions.None); //if (para.Length > 1) //{ // txtWhCode.Text = para[0]; //} }