dfsgdsfgs

This commit is contained in:
ElEgEv 2023-09-13 14:55:54 +04:00
parent 479b08bcf0
commit edb62e34b6

View File

@ -32,14 +32,13 @@ namespace VisualComponentsLib.CustomListBox
InitializeComponent();
}
[Browsable(true)]
public event EventHandler? TextChanged
{
add => listBox.Items.Add(value);
remove => listBox.Items.Clear();
add => listBox.TextChanged += value;
remove => listBox.TextChanged -= value;
}
private void addItem(string item)
public void addItem(string item)
{
if (!string.IsNullOrEmpty(item))
{
@ -47,7 +46,7 @@ namespace VisualComponentsLib.CustomListBox
}
}
private void clearAll()
public void clearAll()
{
listBox.Items.Clear();
}