mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-06-30 22:29:29 +03:00
Groups were being kept on scope because they weren't being removed from the region's control array.
24 lines
479 B
C#
24 lines
479 B
C#
using DarkUI;
|
|
|
|
namespace Example
|
|
{
|
|
public partial class DockConsole : DarkToolWindow
|
|
{
|
|
#region Constructor Region
|
|
|
|
public DockConsole()
|
|
{
|
|
InitializeComponent();
|
|
|
|
// Build dummy list data
|
|
for (var i = 0; i < 100; i++)
|
|
{
|
|
var item = new DarkListItem(string.Format("List item #{0}", i));
|
|
lstConsole.Items.Add(item);
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|