Exemple #1
0
        private void Form_Load(object sender, EventArgs e)
        {
            try
            {
                SetRequireField();
                lblJANCD.Text   = JANCD;
                lblSKUName.Text = SKUName;
                lblTeika.Text   = bbl.Z_SetStr(Teika);
                lblTanka.Text   = bbl.Z_SetStr(FrmMainForm.GetResultWithHasuKbn((int)HASU_KBN.SISYAGONYU, bbl.Z_Set(lblTeika.Text) * (100 - bbl.Z_Set(txtRitsu.Text)) / 100));

                if (HaspoMode.Equals(1))
                {
                    SLblTeika.Text = "価 格";
                }

                txtRitsu.Focus();
            }
            catch (Exception ex)
            {
                //エラー時共通処理
                MessageBox.Show(ex.Message);
                this.Close();
            }
        }