示例#1
0
        private void btnPermission_ItemClick(object sender, ItemClickEventArgs e)
        {
            CommonEngine.OpenMdiChildForm(this, new uc_UserPermission(ConfigEngine.Language), tabMain);
            //if (language.Equals("vi"))
            //    language = "en";
            //else language = "vi";

            //ChangeCaptionLanguage(language);

            //foreach (DevExpress.XtraEditors.XtraForm frm in this.MdiChildren)
            //{
            //    foreach (Control ctl in frm.Controls)
            //    {
            //        if (ctl.Name.StartsWith("uc_"))
            //        {
            //            ChangeCaptionInMdiChildren(ctl);
            //            break;
            //        }
            //    }
            //}
        }
示例#2
0
 private void btnUserList_ItemClick(object sender, ItemClickEventArgs e)
 {
     CommonEngine.OpenMdiChildForm(this, new uc_User(ConfigEngine.Language), tabMain);
 }