I'm relatively new to .NET GUI programming using WinForms (the project I'm working on is targetting .NET 2.0 for deployment reasons), and I'm trying to bind a ListBox in a Form to a string[] property that is defined in the form:
namespace AVPriorityUI
{
public partial class AVPriorityUI : Form
{
public AVPriorityUI()
{
InitializeComponent();
}
public string[] ProcessNames
{
get { ... }
set { ... }
}
}
}
No matter what I do, I can't get Visual Studio 2008 to offer up the ProcessNames property as a valid source to bind to. What do I need to do differently to make this work?
[EDIT] I've been trying to use the GUI to establish the binding.