Beispiel #1
0
        private void btnWInfo_Click(object sender, EventArgs e)
        {
            lbWarrant.Items.Clear();
            PI30002 p30002 = quoteCom.GetWarrantInfo(txtWid.Text);

            if (p30002 == null)
            {
                lbWarrant.Items.Add("查無資料,可能未連線/未下載/無此商品!!");
                return;
            }
            lbWarrant.Items.Add("權證:[" + txtWid.Text + "]");
            lbWarrant.Items.Add(Gen30002Msg(p30002));
        }