예제 #1
0
        private void AddButton_Click(object sender, EventArgs e)
        {
            AddButton.Enabled = false;
            Items.Insert(0, new Item());
            DataGridViewCell newNameCell = ItemsGridView.Rows[0].Cells["name"];

            ItemsGridView.CurrentCell = newNameCell;
            ItemsGridView.BeginEdit(true);
        }