private void добавитьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            sprAccessoryOne sprAccessoryOneForm = new sprAccessoryOne();

            sprAccessoryOneForm.type = "add";
            sprAccessoryOneForm.Text = "Новый элемент";
            sprAccessoryOneForm.ShowDialog();
        }
        private void редактироватьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            sprAccessoryOne sprAccessoryOneForm = new sprAccessoryOne();

            sprAccessoryOneForm.type            = "edit";
            sprAccessoryOneForm.id              = dgComponentsList.CurrentRow.Cells[0].Value.ToString();
            sprAccessoryOneForm.Text            = dgComponentsList.CurrentRow.Cells[2].Value.ToString();
            sprAccessoryOneForm.tBoxName        = dgComponentsList.CurrentRow.Cells[2].Value.ToString();
            sprAccessoryOneForm.tBoxType        = dgComponentsList.CurrentRow.Cells[1].Value.ToString();
            sprAccessoryOneForm.tBoxDescription = dgComponentsList.CurrentRow.Cells[3].Value.ToString();
            sprAccessoryOneForm.tBoxPrice       = dgComponentsList.CurrentRow.Cells[4].Value.ToString();
            sprAccessoryOneForm.ShowDialog();
        }