// Igor Yakubov 15.06.2007 // return localizer for customer translation and messages /*public object Localizer * { * get { return null; } * }*/ /// <summary > /// Localized UC ///</summary> ///Assign Language call after load layout becouse some control can save ///self caption and need translate them. public virtual void AssignLanguage() { if (!IsDesignMode) { _localizer = new ControlLocalizer(UILocalizer.Current, this); AssignControlsStyle(Controls); } }
protected virtual void AssignLanguage() { if (!DesignMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); } }
public FormPrintAbsencePlanning() { InitializeComponent(); if (ClientEnvironment.IsRuntimeMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); localizer.LayoutControlLocalize(layoutControl); Text = Localizer.GetLocalized("PrintAbsenceTimePlanning"); } }
public FormPrintAbsencePlanning() { InitializeComponent(); if (ClientEnvironment.IsRuntimeMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); localizer.LayoutControlLocalize(layoutControl); Text = Localizer.GetLocalized("PrintAbsenceTimePlanning"); } }
protected override void OnLoad(EventArgs e) { if (Page.IsPostBack) { WaitScreen1.Process += WaitScreen1_Process1; } base.OnLoad(e); Page.Header.AddKeywords("Test", "Test2", "Test Three"); Page.Header.AddDescription("This is a test page description"); Page.Header.AddScript("function void func(){}", true); ControlLocalizer.Localize(hyperlink21, "TextBox21"); }
public FormPrintWorldsTimeRecording() { InitializeComponent(); if (ClientEnvironment.IsRuntimeMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); localizer.LayoutControlLocalize(layoutControl); ViewTypeChanged(this, EventArgs.Empty); de_StartDate.Properties.MinValue = DateTimeSql.SmallDatetimeMin; de_StartDate.Properties.MaxValue = DateTimeSql.SmallDatetimeMax; } }
public FormPrintTimePlanning() { InitializeComponent(); if (!UCBaseEntity.IsDesignMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); localizer.LayoutControlLocalize(layoutControl); ViewTypeChanged(this, EventArgs.Empty); de_StartDate.Properties.MinValue = DateTimeSql.SmallDatetimeMin; de_StartDate.Properties.MaxValue = DateTimeSql.SmallDatetimeMax; } }
public FormPrintTimePlanning() { InitializeComponent(); if (!UCBaseEntity.IsDesignMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); localizer.LayoutControlLocalize(layoutControl); ViewTypeChanged(this, EventArgs.Empty); de_StartDate.Properties.MinValue = DateTimeSql.SmallDatetimeMin; de_StartDate.Properties.MaxValue = DateTimeSql.SmallDatetimeMax; } }
public FormPrintWorldsTimeRecording() { InitializeComponent(); if (ClientEnvironment.IsRuntimeMode) { ControlLocalizer localizer = new ControlLocalizer(UILocalizer.Current, this); localizer.ComponentsLocalize(components); localizer.LayoutControlLocalize(layoutControl); ViewTypeChanged(this, EventArgs.Empty); de_StartDate.Properties.MinValue = DateTimeSql.SmallDatetimeMin; de_StartDate.Properties.MaxValue = DateTimeSql.SmallDatetimeMax; } }
// Igor Yakubov 15.06.2007 // return localizer for customer translation and messages /*public object Localizer { get { return null; } }*/ /// <summary > /// Localized UC ///</summary> ///Assign Language call after load layout becouse some control can save ///self caption and need translate them. public virtual void AssignLanguage() { if (!IsDesignMode) { _localizer = new ControlLocalizer(UILocalizer.Current , this); AssignControlsStyle(Controls); } }
public virtual void AssignLanguage() { ControlLocalizer _localizer = new ControlLocalizer(UILocalizer.Current, this); }