Esempio n. 1
0
        private void SearchDate_ByOption()
        {
            string ymd = bbl.GetDate();

            if (RdoJanCD.Checked)
            {
                TempoRegiShouhinKensaku tpoShouhin = new TempoRegiShouhinKensaku(InOperatorCD);
                tpoShouhin.ShowDialog();
                if (!string.IsNullOrWhiteSpace(tpoShouhin.JANCD))
                {
                    txtCD.Text         = tpoShouhin.JANCD;
                    lblAdminNO.Text    = tpoShouhin.AdminNO;
                    lblSearchName.Text = tpoShouhin.SKUName;
                }
            }
            else
            {
                TempoRegiKaiinKensaku tgkkk = new TempoRegiKaiinKensaku();
                tgkkk.ShowDialog();

                if (!string.IsNullOrEmpty(tgkkk.CustomerCD))
                {
                    txtCD.Text         = tgkkk.CustomerCD;
                    lblSearchName.Text = tgkkk.CustomerName;
                    lblAdminNO.Text    = string.Empty;
                }
            }
            lblSearchName.Visible = true;
            txtBtnNameDown.Focus();
        }
        private void btnProduct_Click(object sender, EventArgs e)
        {
            TempoRegiShouhinKensaku frmshouhin = new TempoRegiShouhinKensaku(InOperatorCD);

            frmshouhin.ShowDialog();
            txtJanCD.Text        = frmshouhin.JANCD;
            lblItemName.Text     = frmshouhin.SKUName;
            lblColorSize.Text    = frmshouhin.Color + " . " + frmshouhin.Size;
            lblColorSize.Visible = true;
            lblItemName.Visible  = true;
        }