2023-09-09 14:11:29 +04:00
|
|
|
namespace TestForms
|
|
|
|
{
|
|
|
|
public partial class TestFrame : Form
|
|
|
|
{
|
2023-09-19 18:59:55 +04:00
|
|
|
|
2023-09-09 14:11:29 +04:00
|
|
|
public TestFrame()
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
2023-09-19 18:59:55 +04:00
|
|
|
listBox.ValueChanged += new EventHandler()
|
2023-09-09 14:11:29 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
private void clearButton_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
listBox.Clear();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void fillButton_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
listBox.PopulateList(new List<string> { "SILENT", "RIZZ", "BLSSDY", "YUEEJKE" });
|
2023-09-19 18:59:55 +04:00
|
|
|
|
2023-09-09 14:11:29 +04:00
|
|
|
}
|
|
|
|
|
2023-09-19 18:59:55 +04:00
|
|
|
|
|
|
|
|
2023-09-09 14:11:29 +04:00
|
|
|
}
|
|
|
|
}
|