Exemple #1
0
        private void OnClick(CUIEvent uiEvent)
        {
            int srcWidgetIndexInBelongedList = uiEvent.m_srcWidgetIndexInBelongedList;

            if ((this._urlaList != null) && (srcWidgetIndexInBelongedList < this._urlaList.Count))
            {
                UrlAction action = this._urlaList[srcWidgetIndexInBelongedList];
                if (action.Execute())
                {
                    base.view.form.Close();
                }
            }
        }
Exemple #2
0
        private void OnClick(CUIEvent uiEvent)
        {
            int srcWidgetIndexInBelongedList = uiEvent.m_srcWidgetIndexInBelongedList;

            if (this._urlaList != null && srcWidgetIndexInBelongedList < this._urlaList.get_Count())
            {
                UrlAction urlAction = this._urlaList.get_Item(srcWidgetIndexInBelongedList);
                if (urlAction.Execute())
                {
                    base.view.form.Close();
                }
            }
        }