예제 #1
0
        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();
        }