private void ManufactureGridView_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e) { manufactureControl.DataSource = (CManufacture)ManufactureGridView.GetRow(e.FocusedRowHandle); }
private void DeleteButton_Click(object sender, EventArgs e) { ManufactureGridView.DeleteSelectedRows(); manufactureControl.DataSource = (CManufacture)ManufactureGridView.GetRow(ManufactureGridView.FocusedRowHandle); }