示例#1
0
        private void FrmTongHopKinhPhi_Load(object sender, EventArgs e)
        {
            int namketoan = GetXmlInfo.GetNamKeToan();

            cboNam.Text = namketoan.ToString();
            BindGrid();
        }
示例#2
0
        private void LoadThamSoHeThong()
        {
            General.lstThamSo = InfoService.GetAll();

            foreach (Info tmp in General.lstThamSo)
            {
                switch (tmp.Ma)
                {
                case "p_TenDv":
                    General.TenDv = tmp.GiaTri;
                    break;

                case "p_DiaChi":
                    General.DiaChi = tmp.GiaTri;
                    break;

                case "p_KB_Dv":
                    General.KBDv = tmp.GiaTri;
                    break;

                case "p_Ma_TKKT":
                    General.MaTkkt = tmp.GiaTri;
                    break;

                case "p_Ma_DV_QHNS":
                    General.MaDvQhns = tmp.GiaTri;
                    break;
                }
            }

            General.NamKeToan = GetXmlInfo.GetNamKeToan();
        }
示例#3
0
        private void btnThucHien_Click(object sender, EventArgs e)
        {
            string namketoan = cboNam.Text;

            General.NamKeToan = int.Parse(cboNam.Text);
            GetXmlInfo.WriteInfo(namketoan);

            this.Close();
        }