dfsgdsfgs
This commit is contained in:
parent
479b08bcf0
commit
edb62e34b6
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user