Ejemplo n.º 1
0
        private bool DisplayData(CKM_SearchControl sc)
        {
            mbste = new M_BankShiten_Entity();

            if (type == 1)
            {
                mbste.BankCD     = ScBankCD.Code;
                mbste.BranchCD   = sc.Code;
                mbste.ChangeDate = sc.ChangeDate;
            }
            else
            {
                mbste.BankCD     = ScCopyBankCD.Code;
                mbste.BranchCD   = ScCopyBranchCD.Code;
                mbste.ChangeDate = ScCopyBranchCD.ChangeDate;
            }


            mbste = mtbstbl.M_BankShiten_Select(mbste);
            if (mbste != null)
            {
                TxtBankBranchName.Text = mbste.BranchName;
                TxtKanaName.Text       = mbste.BranchKana;
                TxtRemark.Text         = mbste.Remarks;
                ChkDeleteFlg.Checked   = mbste.DeleteFlg.Equals("1") ? true : false;
                TxtBankBranchName.Focus();

                return(true);
            }
            else
            {
                mtbstbl.ShowMessage("E133");
                return(false);
            }
        }
Ejemplo n.º 2
0
 private void SetRequireField()
 {
     //***SearchControl.TxtCode.Require(true);
     //***SearchControl.TxtChangeDate.Require(true);
     ScBankCD.TxtCode.Require(true);
     ScBranchCD.TxtCode.Require(true);
     ScBranchCD.TxtChangeDate.Require(true);
     //ScCopyBankCD.TxtCode.Require(true);//更新09月06日
     //ScCopyBranchCD.TxtCode.Require(true);//更新09月06日
     //ScCopyBranchCD.TxtChangeDate.Require(true);//更新09月06日
     TxtBankBranchName.Require(true);
     TxtKanaName.Require(true);
 }