Exemplo n.º 1
0
 void SetupLanguageString()
 {
     IBUsernameLbl.Text = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSUsername", "");
     IBPasswordLbl.Text = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSPassword", "");
     IBLanguageLbl.Text = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSLanguage", "");
     IBRemeberMeBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSRememberMe", ""), UIControlState.Normal);
     IBSignInBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSLogin", ""), UIControlState.Normal);
     IBCopyRightLbl.Text = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSCopyRightTxt", "");
     IBTitleLbl.Text     = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSCompanyTitle", "");
     IBVersinonLbl.Text  = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSVersionInfo", "");
     IBDoneBtn.Title     = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSDone", "");
 }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (BtnShowPassword != null)
            {
                BtnShowPassword.Dispose();
                BtnShowPassword = null;
            }

            if (IBContentVw != null)
            {
                IBContentVw.Dispose();
                IBContentVw = null;
            }

            if (IBCopyRightLbl != null)
            {
                IBCopyRightLbl.Dispose();
                IBCopyRightLbl = null;
            }

            if (IBDemoBtn != null)
            {
                IBDemoBtn.Dispose();
                IBDemoBtn = null;
            }

            if (IBDoneBar != null)
            {
                IBDoneBar.Dispose();
                IBDoneBar = null;
            }

            if (IBDoneBtn != null)
            {
                IBDoneBtn.Dispose();
                IBDoneBtn = null;
            }

            if (IBHqBtn != null)
            {
                IBHqBtn.Dispose();
                IBHqBtn = null;
            }

            if (IBLanguageImg != null)
            {
                IBLanguageImg.Dispose();
                IBLanguageImg = null;
            }

            if (IBLanguageLbl != null)
            {
                IBLanguageLbl.Dispose();
                IBLanguageLbl = null;
            }

            if (IBLanguagePicker != null)
            {
                IBLanguagePicker.Dispose();
                IBLanguagePicker = null;
            }

            if (IBLanguageTxt != null)
            {
                IBLanguageTxt.Dispose();
                IBLanguageTxt = null;
            }

            if (IBLanguageVw != null)
            {
                IBLanguageVw.Dispose();
                IBLanguageVw = null;
            }

            if (IBLogoImg != null)
            {
                IBLogoImg.Dispose();
                IBLogoImg = null;
            }

            if (IBLogoVw != null)
            {
                IBLogoVw.Dispose();
                IBLogoVw = null;
            }

            if (IBLucidBtn != null)
            {
                IBLucidBtn.Dispose();
                IBLucidBtn = null;
            }

            if (IBPasswordImg != null)
            {
                IBPasswordImg.Dispose();
                IBPasswordImg = null;
            }

            if (IBPasswordLbl != null)
            {
                IBPasswordLbl.Dispose();
                IBPasswordLbl = null;
            }

            if (IBPasswordTxt != null)
            {
                IBPasswordTxt.Dispose();
                IBPasswordTxt = null;
            }

            if (IBPasswordVw != null)
            {
                IBPasswordVw.Dispose();
                IBPasswordVw = null;
            }

            if (IBRemeberMeBtn != null)
            {
                IBRemeberMeBtn.Dispose();
                IBRemeberMeBtn = null;
            }

            if (IBSAASBtn != null)
            {
                IBSAASBtn.Dispose();
                IBSAASBtn = null;
            }

            if (IBScrollVw != null)
            {
                IBScrollVw.Dispose();
                IBScrollVw = null;
            }

            if (IBSignInBtn != null)
            {
                IBSignInBtn.Dispose();
                IBSignInBtn = null;
            }

            if (IBTitleLbl != null)
            {
                IBTitleLbl.Dispose();
                IBTitleLbl = null;
            }

            if (IBUserImg != null)
            {
                IBUserImg.Dispose();
                IBUserImg = null;
            }

            if (IBUsernameLbl != null)
            {
                IBUsernameLbl.Dispose();
                IBUsernameLbl = null;
            }

            if (IBUsernameTxt != null)
            {
                IBUsernameTxt.Dispose();
                IBUsernameTxt = null;
            }

            if (IBUsernameVw != null)
            {
                IBUsernameVw.Dispose();
                IBUsernameVw = null;
            }

            if (IBVersinonLbl != null)
            {
                IBVersinonLbl.Dispose();
                IBVersinonLbl = null;
            }
        }