private void bunifuCustomDataGridFabricDataBase_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.ColumnIndex == 6)
            {
                AddForms.VCAddForm.VCFabricAddForm editFabric = new AddForms.VCAddForm.VCFabricAddForm(
                    bunifuCustomDataGridFabricDataBase.Rows[e.RowIndex].Cells["ColumnFabric_id"].Value.ToString(),
                    bunifuCustomDataGridFabricDataBase.Rows[e.RowIndex].Cells["ColumnName"].Value.ToString(),
                    bunifuCustomDataGridFabricDataBase.Rows[e.RowIndex].Cells["ColumnAdditional"].Value.ToString(),
                    bunifuCustomDataGridFabricDataBase.Rows[e.RowIndex].Cells["ColumnImg_path"].Value.ToString(),
                    Convert.ToDecimal(bunifuCustomDataGridFabricDataBase.Rows[e.RowIndex].Cells["ColumnPrice"].Value.ToString())
                    );
                editFabric.DialogResult = DialogResult.None;
                editFabric.ShowDialog();
                if (editFabric.DialogResult == DialogResult.OK)
                {
                    load_fabrics();
                }
            }
            else if (e.ColumnIndex == 7)
            {
                DialogResult dialog = MessageBox.Show("Ви дійсно бажаєте видалити цей об'єкт?", "?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
                if (dialog == DialogResult.No)
                {
                    return;
                }

                AddForms.VCAddForm.VCFabricAddForm editFabric = new AddForms.VCAddForm.VCFabricAddForm(
                    bunifuCustomDataGridFabricDataBase.Rows[e.RowIndex].Cells["ColumnFabric_id"].Value.ToString(),
                    this
                    );
            }
        }
 private void buttonAdd_Click(object sender, EventArgs e)
 {
     AddForms.VCAddForm.VCFabricAddForm fabricAddForm = new AddForms.VCAddForm.VCFabricAddForm();
     fabricAddForm.DialogResult = DialogResult.None;
     fabricAddForm.ShowDialog();
     if (fabricAddForm.DialogResult == DialogResult.OK)
     {
         load_fabrics();
     }
 }