Beispiel #1
0
        private void OnItemClicked(object sender, ImageListPanelEventArgs e)
        {
            m_selectedIndex = ((ImageListPanelEventArgs)e).SelectedItem;

            //remove listner
            m_imagePanel.ItemClick -= new ImageListPanelEventHandler(OnItemClicked);

            // close the drop-dwon, we are done
            wfes.CloseDropDown();
        }
Beispiel #2
0
		private void OnItemClicked(object sender, ImageListPanelEventArgs e)
		{
			m_selectedIndex = ((ImageListPanelEventArgs) e).SelectedItem;
			
			//remove listner
			m_imagePanel.ItemClick -= new ImageListPanelEventHandler(OnItemClicked);
			
			// close the drop-dwon, we are done
			wfes.CloseDropDown() ;
		}