예제 #1
0
        void SetupLanguageString()
        {
            IBEntityCodeTiltleLbl.Text = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSEntityTitle", "");
            IBAccountCodeTitleLbl.Text = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSAccountTitle", "");
            IBNotesHeaderLbl.Text      = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSNotesHeaderTitle", "");
            IBNotesDetailsLbl.Text     = IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSNotesDetailsTitle", "");

            IBMeBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSMeTitle", ""),
                             UIControlState.Normal);
            IBPubicBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSPublicTitle", ""),
                                UIControlState.Normal);
            IBSelectedBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSSelectTitle", ""),
                                   UIControlState.Normal);
            IBSaveBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSSave", ""),
                               UIControlState.Normal);
            IBCancelBtn.SetTitle(IosUtils.LocalizedString.sharedInstance.GetLocalizedString("LSCancelKey", ""),
                                 UIControlState.Normal);
        }
        void ReleaseDesignerOutlets()
        {
            if (IBAccountCodeDoneBar != null)
            {
                IBAccountCodeDoneBar.Dispose();
                IBAccountCodeDoneBar = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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