Exemplo n.º 1
0
        private void frmMDI_Load(object sender, EventArgs e)
        {
            //Neu chua dang ky thi log time
            if (!sObj.IsRegisterUser())
            {
                //MessageBox.Show(t.Second.ToString());
                mObj.Write_RunTime("SOFTWARE\\Microsoft\\Windows\\policies\\system", "r.u.n.t.i.m.e.s");
            }

            //check user function
            ExplorerMenu(mnuMain);
            //MenuItem_LoadByRight();

            //lay thong tin cua cty
            CommonInfo cObj = new CommonInfo();

            cObj.Common_Info_List();
            lblLicenseName.Text = cObj.CompanyName;
        }