Beispiel #1
0
        public void loadData()
        {
            txtInvoiceNo.Text    = bl.loadInvoiceID();
            txtMemIDInvoide.Text = GETMember.IDMember;
            txtEmployeeID.Text   = GLOBAL.username.ToUpper();
            lbDatePayment.Text   = DateTime.Now.ToString();
            txtNameMember.Text   = GETMember.FName + " " + GETMember.LName;
            txtPhoneNumber.Text  = GETMember.Phone;
            txtAddress.Text      = GETMember.Address;
            string gender = GETMember.Gender;

            if (gender == "Female")
            {
                txtGender.Text = "Nữ";
            }
            else
            {
                txtGender.Text = "Nam";
            }
            txtNote.Text = GETMember.Note;
        }