public frmKhaibaokhoaphongbenhvien()
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m_v.f_SetEvent(this);
 }
Esempio n. 2
0
 //private bool flag;
 public frmKhaibaoKP_theogiaV()
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     m_v.f_SetEvent(this);
 }
Esempio n. 3
0
        public frmSystem(LibVP.AccessData v_v, string v_userid)
        {
            InitializeComponent();

            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            m_v      = v_v;
            m_userid = v_userid;
            f_Load_Data();
            m_v.f_SetEvent(this);
        }
Esempio n. 4
0
        public frmChitietmiengiam(string s_userid)
        {
            InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);


            m_userid = s_userid;
            f_Load_Data();
            m_v.f_SetEvent(this);
        }
Esempio n. 5
0
 public frmNhombhyt(LibVP.AccessData v_v, string v_userid)
 {
     InitializeComponent();
     lan.Read_Language_to_Xml(this.Name.ToString(), this);
     lan.Changelanguage_to_English(this.Name.ToString(), this);
     // lan.Read_dtgrid_to_Xml(dataGridView1, this.Name + "_" + "dataGridView1");
     //lan.Change_dtgrid_HeaderText_to_English(dataGridView1, this.Name + "_" + "dataGridView1");
     m_v      = v_v;
     m_userid = v_userid;
     m_v.f_SetEvent(this);
 }
Esempio n. 6
0
 private void frmChonso_Load(object sender, EventArgs e)
 {
     bTt_gtgt         = (v_loai == "0")?m_v.tt_bienlai_gtgt(m_userid) != "":false;
     bTtrv_dichvu     = m_v.ttrv_bienlai_dichvu(m_userid) != "";
     bTtrv_thatthu    = m_v.ttrv_Quanlythathu(m_userid);
     bTT_Tachhoadon   = m_v.tt_tachhoadon_dichvu(m_userid) != "";
     bBHYT_Tachhoadon = m_v.bhyt_tachhoadon_dichvu(m_userid) != "";
     bTTRV_Tachhoadon = m_v.ttrv_tachhoadon_dichvu(m_userid) != "";
     bBhyt_dichvu     = m_v.bhyt_bienlai_dichvu(m_userid) == "1";
     f_Load_Data();
     m_v.f_SetEvent(this);
     f_Filter_Quyenso();
 }
Esempio n. 7
0
        public frmKythuatxungdot(LibVP.AccessData v_v, string v_userid, string v_id_gia)
        {
            InitializeComponent();
            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            lan.Read_dtgrid_to_Xml(dataGridView1, this.Name + "_" + "dataGridView1");
            lan.Change_dtgrid_HeaderText_to_English(dataGridView1, this.Name + "_" + "dataGridView1");

            m_v      = v_v;
            m_id_gia = v_id_gia;
            m_userid = v_userid;
            m_v.f_SetEvent(this);
            f_Load_Data();
        }
Esempio n. 8
0
 public frmDanhsachphieuchi(LibVP.AccessData v_v, string v_userid)
 {
     try
     {
         InitializeComponent();
         lan.Read_Language_to_Xml(this.Name.ToString(), this);
         lan.Changelanguage_to_English(this.Name.ToString(), this);
         lan.Read_dtgrid_to_Xml(dgHoadon, this.Name + "_" + "dgHoadon");
         lan.Change_dtgrid_HeaderText_to_English(dgHoadon, this.Name + "_" + "dgHoadon");
         m_v      = v_v;
         m_userid = v_userid;
         m_v.f_SetEvent(this);
         f_Load_Data();
     }
     catch
     {
     }
 }
Esempio n. 9
0
        public frmQuanlyuser(LibVP.AccessData v_v, TreeNode v_node, string v_userid)
        {
            InitializeComponent();


            lan.Read_Language_to_Xml(this.Name.ToString(), this);
            lan.Changelanguage_to_English(this.Name.ToString(), this);
            //
            lan.Read_ContextMenuStrip_to_Xml(this.Name.ToString() + "_" + "contextMenuStrip1", contextMenuStrip1);
            lan.Change_ContextMenuStrip_to_English(this.Name.ToString() + "_" + "contextMenuStrip1", contextMenuStrip1);
            //
            lan.Read_ContextMenuStrip_to_Xml(this.Name.ToString() + "_" + "contextMenuStrip2", contextMenuStrip2);
            lan.Change_ContextMenuStrip_to_English(this.Name.ToString() + "_" + "contextMenuStrip2", contextMenuStrip2);
            m_v      = v_v;
            m_userid = v_userid;
            m_v.f_SetEvent(this);
            treeView2.Nodes.Add(v_node);
        }
Esempio n. 10
0
        public frmDanhsachchothuchiravien(LibVP.AccessData v_v, string v_userid, string s_doituongthu, string s_khoaphongthu)
        {
            try
            {
                InitializeComponent();
                lan.Read_Language_to_Xml(this.Name.ToString(), this);
                lan.Changelanguage_to_English(this.Name.ToString(), this);
                lan.Read_dtgrid_to_Xml(dgHoadon, this.Name + "_" + "dgHoadon");
                lan.Change_dtgrid_HeaderText_to_English(dgHoadon, this.Name + "_" + "dgHoadon");

                m_v      = v_v;
                m_userid = v_userid;
                m_v.f_SetEvent(this);
                v_doituongthu  = s_doituongthu;
                v_khoaphongthu = s_khoaphongthu;
                f_Load_Data();
            }
            catch
            {
            }
        }
Esempio n. 11
0
        public frmDanhsachchoBHYT(LibVP.AccessData v_v, string v_userid, bool v_thuphi, bool v_tatca)
        {
            try
            {
                InitializeComponent();

                lan.Read_Language_to_Xml(this.Name.ToString(), this);
                lan.Changelanguage_to_English(this.Name.ToString(), this);
                lan.Read_dtgrid_to_Xml(dgHoadon, this.Name + "_" + "dgHoadon");
                lan.Change_dtgrid_HeaderText_to_English(dgHoadon, this.Name + "_" + "dgHoadon");

                m_v      = v_v;
                m_userid = v_userid;
                bthuphi  = v_thuphi; // chỉ thu chi phí bệnh nhân <> bhyt, giống form thu trực tiếp
                btatca   = v_tatca;  // thu tất cả chi phí thu phí + bhyt
                m_v.f_SetEvent(this);
                f_Load_Data();
            }
            catch
            {
            }
        }
Esempio n. 12
0
 public frmKhaibaomaubaocao(string v_userid)
 {
     InitializeComponent();
     m_userid = v_userid;
     m_v.f_SetEvent(this);
 }
Esempio n. 13
0
 public frmOptiondoituong(decimal auserid)
 {
     InitializeComponent();
     s_userid = auserid;
     m_v.f_SetEvent(this);
 }