Exemplo n.º 1
0
        protected override void OnCreateControl()
        {
            base.OnCreateControl();
            if (!IsDesignMode)
            {
                Disposed += new EventHandler(UCBaseEntity_Disposed);

                LoadLayout();
                DoChangeLanguage = new NotifyChangedLanguageUI(NotificationService_ChangedLanguageUI);
                NotificationService.ChangedLanguageUI += DoChangeLanguage;
            }
        }
Exemplo n.º 2
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (ClientEnvironment.IsRuntimeMode)
            {
                LoadLayout();
                button_Cancel.Left = panelBottom.Width - button_Cancel.Width - 16;


                DoChangeLanguage = new NotifyChangedLanguageUI(NotificationService_ChangedLanguageUI);
                NotificationService.ChangedLanguageUI += DoChangeLanguage;
            }
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (ClientEnvironment.IsRuntimeMode)
            {
                Text = Localizer.GetLocalized("NotificationService");
                lbl_Analyzing.Text = Localizer.GetLocalized("AnalyzingData");

                LoadLayout();

                DoChangeLanguage = NotificationService_ChangedLanguageUI;
                NotificationService.ChangedLanguageUI += DoChangeLanguage;
            }
        }
Exemplo n.º 4
0
        protected override void OnCreateControl()
        {
            base.OnCreateControl();
            if (!IsDesignMode)
            {
                Disposed += new EventHandler(UCBaseEntity_Disposed);

                LoadLayout();
                DoChangeLanguage = new NotifyChangedLanguageUI(NotificationService_ChangedLanguageUI);
                NotificationService.ChangedLanguageUI += DoChangeLanguage;
            }
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if(ClientEnvironment.IsRuntimeMode)
            {
                Text = Localizer.GetLocalized("NotificationService");
                lbl_Analyzing.Text = Localizer.GetLocalized("AnalyzingData");

                LoadLayout();

                DoChangeLanguage = NotificationService_ChangedLanguageUI;
                NotificationService.ChangedLanguageUI += DoChangeLanguage;
            }
        }
Exemplo n.º 6
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (ClientEnvironment.IsRuntimeMode)
            {
                LoadLayout();
                button_Cancel.Left = panelBottom.Width - button_Cancel.Width - 16;

                DoChangeLanguage = new NotifyChangedLanguageUI(NotificationService_ChangedLanguageUI);
                NotificationService.ChangedLanguageUI += DoChangeLanguage;
            }
        }