Пример #1
0
        /// <summary>
        /// Configures the editor</summary>
        /// <param name="listView">Control to display data</param>
        /// <param name="listViewAdapter">Adapter to drive control</param>
        /// <remarks>Default is to create a ListView and ListViewAdapter,
        /// using the global image lists.</remarks>
        protected virtual void Configure(
            out ListView listView,
            out ListViewAdapter listViewAdapter)
        {
            listView = new ListView();
            listView.SmallImageList = ResourceUtil.GetImageList16();
            listView.LargeImageList = ResourceUtil.GetImageList32();

            listViewAdapter = new ListViewAdapter(listView);
        }