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

            sprReceiptOneForm.type = "add";
            sprReceiptOneForm.Text = "Новая поставка";
            sprReceiptOneForm.ShowDialog();
        }
        private void редактироватьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            sprReceiptOne sprReceiptOne = new sprReceiptOne();

            sprReceiptOne.type = "edit";
            sprReceiptOne.id   = dgReceiptList.CurrentRow.Cells[0].Value.ToString();
            sprReceiptOne.Text = dgReceiptList.CurrentRow.Cells[1].Value.ToString();
            sprReceiptOne.ShowDialog();
        }