private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ProductStandartsForm form = new ProductStandartsForm();

            form.ShowDialog();
            refreshDataGrid();
        }
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dataGridStandarts.SelectedRows.Count > 0)
     {
         ProductStandartsForm form = new ProductStandartsForm(list[dataGridStandarts.SelectedRows[0].Index]);
         form.ShowDialog();
         refreshDataGrid();
     }
 }