Using OnGlobalize Event

<< Click to Display Table of Contents >>

Navigation:  Developers' Guide > Customizing User Interface > FAQs > Samples >

Using OnGlobalize Event

Navigation: Developers' Guide > Customizing User Interface > FAQs > Samples >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

Using OnGlobalize Event

 

Show/Hide Hidden Text

This topic contains sample code for using the "OnGlobalize" event.

Refer to the "POSEventsSampleAddon" project file on CitiXsys Knowledge Portal.

Click here to collapse/expand the view.

Sample for Using OnGlobalize event.

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using CXS.Retail.Extensibility.Modules.Transaction;

using CXS.Retail.Extensibility;

using CXS.Retail.ManagementUIComponents;

using CXS.Platform.UIComponents;

using DevExpress.XtraEditors;

using System.Windows.Forms;

using CXS.Framework.Core;

using CXS.Retail.UIComponents;

using CXS.Retail.ViewModel.Message;

using CXSRetailPOS;

using CXS.SubSystem.Core;

 

namespace POSEventsSampleAddon

{

    class TransactionSearch : TransactionSearchModuleBase

    {        

        public override void OnGlobalize()

        {

            MessageBox.Show("Gloablize");

            t.m_Button1.Text = "My Custom Text";

            t.m_Button2.ForeColor = System.Drawing.Color.Red;

            t.m_Button3.Enabled = true;

            t.m_Button4.Enabled = true;

            t.m_Button5.Enabled = true;

            t.m_Button6.Enabled = true;

            t.m_Button7.Enabled = true;

            t.m_Button7.ToolTip = "Custom";

            t.m_Button8.Visible = true;

        }

    }

}