public ProviderView() { InitializeComponent(); dataGridView.AutoGenerateColumns = false; dataGridView.SelectionChanged += (sender, args) => Observer.SelectedProviderChanged(); addToolStripButton.Click += (sender, args) => Observer.AddProviderRequested(); editToolStripButton.Click += (sender, args) => Observer.EditProviderRequested(); removeToolStripButton.Click += (sender, args) => Observer.RemoveProviderRequested(); }